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.001025/0.001025, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 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.001066/0.001066, allocations: 165.6 kB / 24.87 MB, free: 8.891 MB / 18.57 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 0.952/0.952, allocations: 177.2 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.886/1.886, allocations: 377.9 MB / 0.6247 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[0-9,]+.|timSer1.y.[0-9,]+.",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.[0-9,]+.|timSer1.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 0.8127 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.284e-05, allocations: 9.125 kB / 0.8127 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.004356/0.004389, allocations: 1.81 MB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0009659/0.005355, allocations: 0.6233 MB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.005463, allocations: 7.938 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.005653, allocations: 23.73 kB / 0.8151 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.005977, allocations: 136.6 kB / 0.8153 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.00628, allocations: 155.6 kB / 0.8154 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.00654, allocations: 247.3 kB / 0.8157 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.006659, allocations: 31.31 kB / 0.8157 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008587/0.01525, allocations: 3.211 MB / 0.8188 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.01544, allocations: 95.73 kB / 0.8189 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.01548, allocations: 17.31 kB / 0.8189 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-05/0.01557, allocations: 31.98 kB / 0.819 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.01563, allocations: 35.84 kB / 0.819 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.021e-05/0.0157, allocations: 69.48 kB / 0.8191 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.016, allocations: 179.3 kB / 0.8192 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.016, allocations: 0 / 0.8192 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.122e-06/0.01601, allocations: 0 / 0.8192 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.01601, allocations: 0 / 0.8192 GB, free: 12.08 MB / 0.7761 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.0005961/0.01661, allocations: 0.5952 MB / 0.8198 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.01664, allocations: 12.03 kB / 0.8198 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.877e-05/0.0167, allocations: 24.84 kB / 0.8198 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.01691, allocations: 196.4 kB / 0.82 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.01693, allocations: 12.88 kB / 0.82 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.01695, allocations: 16.38 kB / 0.8201 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.01706, allocations: 74.73 kB / 0.8201 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.01707, allocations: 5.875 kB / 0.8201 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.01708, allocations: 4 kB / 0.8201 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.01709, allocations: 4 kB / 0.8201 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.46e-05/0.01713, allocations: 27.95 kB / 0.8202 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.01764, allocations: 413.6 kB / 0.8206 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.01779, allocations: 75.98 kB / 0.8206 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.94e-05/0.01782, allocations: 27.67 kB / 0.8207 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.01784, allocations: 4.875 kB / 0.8207 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.01794, allocations: 92.95 kB / 0.8208 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/0.01794, allocations: 0.8125 kB / 0.8208 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0002102/0.01815, allocations: 140.7 kB / 0.8209 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.01819, allocations: 56.69 kB / 0.821 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.01833, allocations: 250.6 kB / 0.8212 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.01835, allocations: 37.69 kB / 0.8212 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.01843, allocations: 172.1 kB / 0.8214 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.01846, allocations: 43.61 kB / 0.8214 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.137e-05/0.01853, allocations: 74.28 kB / 0.8215 GB, free: 9.574 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.01865, allocations: 0.5039 MB / 0.822 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.01878, allocations: 108 kB / 0.8221 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.01892, allocations: 231.8 kB / 0.8223 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.01906, allocations: 195.5 kB / 0.8225 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01906, allocations: 0 / 0.8225 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003405/0.0194, allocations: 344 kB / 0.8228 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/0.01945, allocations: 67.39 kB / 0.8229 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.01945, allocations: 0.9375 kB / 0.8229 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.01947, allocations: 8 kB / 0.8229 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.112e-05/0.01954, allocations: 23.98 kB / 0.8229 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.01954, allocations: 5.062 kB / 0.8229 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.653e-05/0.01963, allocations: 19.95 kB / 0.823 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.01964, allocations: 21.02 kB / 0.823 GB, free: 7.898 MB / 0.7761 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 9.473e-05/0.01974, allocations: 170.5 kB / 0.8231 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.01977, allocations: 32.91 kB / 0.8232 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.01991, allocations: 123.4 kB / 0.8233 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.01992, allocations: 4 kB / 0.8233 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.01992, allocations: 1.062 kB / 0.8233 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01992, allocations: 0 / 0.8233 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.02033, allocations: 414.2 kB / 0.8237 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.02034, allocations: 1.344 kB / 0.8237 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.02036, allocations: 8 kB / 0.8237 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.02036, allocations: 4 kB / 0.8237 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.02037, allocations: 0 / 0.8237 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.02037, allocations: 0.8438 kB / 0.8237 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.02037, allocations: 3.938 kB / 0.8237 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.02052, allocations: 269.1 kB / 0.824 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.02056, allocations: 35.77 kB / 0.824 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.02058, allocations: 0 / 0.824 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.432e-05/0.02063, allocations: 12.91 kB / 0.824 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.02067, allocations: 15.91 kB / 0.824 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.02069, allocations: 11.98 kB / 0.824 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.945e-05/0.02076, allocations: 170.1 kB / 0.8242 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.02076, allocations: 0.6562 kB / 0.8242 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003133/0.02108, allocations: 43.94 kB / 0.8242 GB, free: 6.551 MB / 0.7761 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.0003765/0.02145, allocations: 181.6 kB / 0.8244 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002825/0.02174, allocations: 283.2 kB / 0.8247 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02174, allocations: 0 / 0.8247 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.724e-05/0.0218, allocations: 46.98 kB / 0.8247 GB, free: 6.031 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.02217, allocations: 64.38 kB / 0.8248 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.02274, allocations: 303 kB / 0.8251 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.184e-05/0.0228, allocations: 79.97 kB / 0.8252 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.423e-05/0.02287, allocations: 17.95 kB / 0.8252 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/0.02323, allocations: 142.1 kB / 0.8253 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of SimCode: time 8.82e-07/0.02323, allocations: 0 / 0.8253 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of Templates: time 0.00772/0.03095, allocations: 3.96 MB / 0.8292 GB, free: 1.492 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.287678375840187]