Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.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.001287/0.001287, allocations: 110.1 kB / 19.7 MB, free: 2.262 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.001383/0.001383, allocations: 211.1 kB / 23 MB, free: 5.113 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.161/3.161, allocations: 0.49 GB / 0.7958 GB, free: 33.19 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries") [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.002061/0.002061, allocations: 66.83 kB / 1.155 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3825, allocations: 176.1 MB / 1.327 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003308/0.3858, allocations: 1.814 MB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3872, allocations: 0.6353 MB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.815e-05/0.3872, allocations: 3.938 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.3875, allocations: 31.72 kB / 1.33 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003991/0.3879, allocations: 123.4 kB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.3883, allocations: 159.7 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.3886, allocations: 251.3 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.3887, allocations: 29.8 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.3889, allocations: 103.7 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008155/0.397, allocations: 1.066 MB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.802e-05/0.3971, allocations: 16 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.3972, allocations: 36 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.946e-05/0.3973, allocations: 43.83 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.3975, allocations: 95.5 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.3979, allocations: 231.1 kB / 1.332 GB, free: 13.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3979, allocations: 0 / 1.332 GB, free: 13.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3979, allocations: 0 / 1.332 GB, free: 13.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.3979, allocations: 0 / 1.332 GB, free: 13.25 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009936/0.3989, allocations: 496.6 kB / 1.332 GB, free: 12.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.3989, allocations: 8.031 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.399, allocations: 32.72 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.3995, allocations: 198.7 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.3995, allocations: 12.38 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.3996, allocations: 24.12 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.3999, allocations: 111.4 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3999, allocations: 0 / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.3999, allocations: 4 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.3999, allocations: 4 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.4001, allocations: 63.83 kB / 1.333 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.4012, allocations: 455.4 kB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.4015, allocations: 98.7 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.305e-05/0.4016, allocations: 32.89 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.4016, allocations: 0 / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.4018, allocations: 110.2 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.4018, allocations: 0 / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.000416/0.4022, allocations: 173.4 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.4023, allocations: 55.41 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.4026, allocations: 211.7 kB / 1.334 GB, free: 11.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.4026, allocations: 33.7 kB / 1.334 GB, free: 11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.4028, allocations: 136.4 kB / 1.334 GB, free: 10.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.4028, allocations: 35.69 kB / 1.334 GB, free: 10.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.4029, allocations: 61.69 kB / 1.334 GB, free: 10.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.4031, allocations: 330.8 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.4033, allocations: 63.95 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.4035, allocations: 133.6 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.4039, allocations: 213.3 kB / 1.335 GB, free: 9.965 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4039, allocations: 3.938 kB / 1.335 GB, free: 9.961 MB / 1.029 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006386/0.4045, allocations: 328.7 kB / 1.335 GB, free: 9.621 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.715e-05/0.4046, allocations: 63.39 kB / 1.335 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.4046, allocations: 7.938 kB / 1.335 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.4046, allocations: 4 kB / 1.335 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.4047, allocations: 20.08 kB / 1.335 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.4047, allocations: 8 kB / 1.335 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.4049, allocations: 27.81 kB / 1.335 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.405, allocations: 19.97 kB / 1.335 GB, free: 9.461 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (timSer1.timeConverted,$PRE.timSer1.timeConverted,timSer.timeConverted,$PRE.timSer.timeConverted,timSer1.sampleTrigger,timSer1.tActivateLast,$PRE.timSer1.tActivateLast,timSer1.active,timSer.sampleTrigger,timSer.tActivateLast,$PRE.timSer.tActivateLast,timSer.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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.0001996/0.4052, allocations: 140.3 kB / 1.335 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.4052, allocations: 27.88 kB / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.4055, allocations: 151.3 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4055, allocations: 0 / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4055, allocations: 4 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4056, allocations: 4 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006823/0.4062, allocations: 452 kB / 1.336 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.4062, allocations: 0 / 1.336 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-05/0.4063, allocations: 11.98 kB / 1.336 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4063, allocations: 4 kB / 1.336 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.4063, allocations: 0 / 1.336 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4063, allocations: 0 / 1.336 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4063, allocations: 0 / 1.336 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.4066, allocations: 247.2 kB / 1.336 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.4066, allocations: 27.88 kB / 1.336 GB, free: 8.332 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.4066, allocations: 12 kB / 1.336 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.4068, allocations: 7.984 kB / 1.336 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.4068, allocations: 11.98 kB / 1.336 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.4069, allocations: 11.98 kB / 1.336 GB, free: 8.289 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001385/0.407, allocations: 145.5 kB / 1.336 GB, free: 8.148 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.407, allocations: 4 kB / 1.336 GB, free: 8.145 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003109/0.4073, allocations: 43.94 kB / 1.336 GB, free: 8.102 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: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000441/0.4077, allocations: 170.4 kB / 1.336 GB, free: 7.949 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004357/0.4082, allocations: 241.2 kB / 1.337 GB, free: 7.691 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4082, allocations: 0 / 1.337 GB, free: 7.691 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.168e-05/0.4083, allocations: 51.91 kB / 1.337 GB, free: 7.641 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.4087, allocations: 69.98 kB / 1.337 GB, free: 7.574 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007327/0.4094, allocations: 359.6 kB / 1.337 GB, free: 7.195 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.4098, allocations: 0.728 MB / 1.338 GB, free: 6.441 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.033e-05/0.4099, allocations: 19.44 kB / 1.338 GB, free: 6.422 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.4099, allocations: 0 / 1.338 GB, free: 6.422 MB / 1.029 GB Notification: Performance of Templates: time 0.006138/0.416, allocations: 3.297 MB / 1.341 GB, free: 3.133 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.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: 12.162940629001241]