Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 211.5 kB / 22.99 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.311/3.311, allocations: 0.49 GB / 0.7959 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 69.27 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3627, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003452/0.3662, allocations: 1.732 MB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.3679, allocations: 0.9048 MB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.556e-05/0.368, allocations: 3.938 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.3682, allocations: 31.72 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003706/0.3686, allocations: 115.5 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.369, allocations: 161.2 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.3693, allocations: 239.4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.3695, allocations: 33.72 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.3696, allocations: 119.6 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01657/0.3862, allocations: 2.034 MB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.106e-05/0.3863, allocations: 16 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.3864, allocations: 36 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.368e-05/0.3865, allocations: 47.77 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.3866, allocations: 75.69 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004594/0.3871, allocations: 219.1 kB / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3871, allocations: 0 / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3871, allocations: 4 kB / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3871, allocations: 0 / 1.333 GB, free: 11.8 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009875/0.3881, allocations: 492.7 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3881, allocations: 8.031 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.446e-05/0.3882, allocations: 24.8 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.3886, allocations: 185.8 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.3886, allocations: 15.94 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.3886, allocations: 11.98 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.3889, allocations: 93.59 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.3889, allocations: 0 / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.3889, allocations: 12 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3889, allocations: 7.938 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.389, allocations: 49.17 kB / 1.334 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008639/0.3899, allocations: 376.1 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/0.3903, allocations: 130.7 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.867e-05/0.3904, allocations: 36.78 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.3904, allocations: 0 / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.3906, allocations: 107.4 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.3906, allocations: 0 / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003823/0.391, allocations: 173.2 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.391, allocations: 55.41 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.3913, allocations: 203.1 kB / 1.335 GB, free: 9.707 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.3913, allocations: 33.7 kB / 1.335 GB, free: 9.668 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.3914, allocations: 120.5 kB / 1.335 GB, free: 9.547 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/0.3915, allocations: 43.72 kB / 1.335 GB, free: 9.504 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.3916, allocations: 57.67 kB / 1.335 GB, free: 9.441 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3917, allocations: 326.8 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.002e-05/0.3918, allocations: 31.98 kB / 1.335 GB, free: 9.082 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.3921, allocations: 236 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.3923, allocations: 104.1 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3923, allocations: 4 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002718/0.3926, allocations: 160.7 kB / 1.336 GB, free: 8.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3926, allocations: 8 kB / 1.336 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3926, allocations: 3.938 kB / 1.336 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3926, allocations: 0 / 1.336 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.485e-05/0.3927, allocations: 15.94 kB / 1.336 GB, free: 8.492 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3927, allocations: 7.984 kB / 1.336 GB, free: 8.484 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.3929, allocations: 23.92 kB / 1.336 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.3929, allocations: 8.125 kB / 1.336 GB, free: 8.453 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002226/0.3931, allocations: 136.1 kB / 1.336 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.3932, allocations: 23.8 kB / 1.336 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.056e-05/0.3932, allocations: 21.8 kB / 1.336 GB, free: 8.258 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3932, allocations: 4 kB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3932, allocations: 0 / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3932, allocations: 0 / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007921/0.394, allocations: 421.9 kB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.394, allocations: 4 kB / 1.336 GB, free: 7.801 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.542e-05/0.3941, allocations: 4 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3941, allocations: 0 / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3941, allocations: 0 / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.3941, allocations: 7.938 kB / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3941, allocations: 0 / 1.336 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.3944, allocations: 243.2 kB / 1.337 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.3945, allocations: 15.91 kB / 1.337 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.3945, allocations: 11.98 kB / 1.337 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.3946, allocations: 7.984 kB / 1.337 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/0.3947, allocations: 31.84 kB / 1.337 GB, free: 7.469 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.3947, allocations: 11.98 kB / 1.337 GB, free: 7.457 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001638/0.3949, allocations: 136.5 kB / 1.337 GB, free: 7.324 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3949, allocations: 0 / 1.337 GB, free: 7.324 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003108/0.3952, allocations: 47.98 kB / 1.337 GB, free: 7.277 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003945/0.3956, allocations: 168.7 kB / 1.337 GB, free: 7.129 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.3958, allocations: 99.75 kB / 1.337 GB, free: 7.031 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3958, allocations: 0 / 1.337 GB, free: 7.031 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.692e-05/0.3959, allocations: 52.17 kB / 1.337 GB, free: 6.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.3964, allocations: 60.75 kB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005617/0.3969, allocations: 297.7 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.397, allocations: 108.1 kB / 1.338 GB, free: 6.484 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.217e-05/0.3971, allocations: 33.59 kB / 1.338 GB, free: 6.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.3972, allocations: 27.42 kB / 1.338 GB, free: 6.422 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3972, allocations: 0 / 1.338 GB, free: 6.422 MB / 1.029 GB Notification: Performance of Templates: time 0.009008/0.4062, allocations: 4.119 MB / 1.342 GB, free: 2.387 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.20740237699647]