Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001184/0.001184, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001626/0.002809, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007594/0.0007594, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009387/0.001698, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.005/1.005, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09375/1.099, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.334/2.334, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2438/2.578, allocations: 146 MB / 0.8176 GB, free: 3.832 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8189 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.534e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002184/0.002199, allocations: 1.881 MB / 0.8207 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008924/0.003091, allocations: 0.6426 MB / 0.8214 GB, free: 15.98 MB / 0.8074 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.00316, allocations: 0 / 0.8214 GB, free: 15.98 MB / 0.8074 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.003266, allocations: 39.55 kB / 0.8214 GB, free: 15.95 MB / 0.8074 GB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.003508, allocations: 119.3 kB / 0.8215 GB, free: 15.83 MB / 0.8074 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.003801, allocations: 174.1 kB / 0.8217 GB, free: 15.66 MB / 0.8074 GB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.004035, allocations: 235.4 kB / 0.8219 GB, free: 15.43 MB / 0.8074 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.004139, allocations: 30.39 kB / 0.8219 GB, free: 15.41 MB / 0.8074 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007812/0.01195, allocations: 3.223 MB / 0.8251 GB, free: 13.47 MB / 0.8074 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.01211, allocations: 91.75 kB / 0.8252 GB, free: 13.38 MB / 0.8074 GB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.01214, allocations: 12 kB / 0.8252 GB, free: 13.37 MB / 0.8074 GB Notification: Performance of NFFlatten.collectFunctions: time 7.599e-05/0.01221, allocations: 35.92 kB / 0.8252 GB, free: 13.34 MB / 0.8074 GB Notification: Performance of NFScalarize.scalarize: time 5.11e-05/0.01226, allocations: 35.86 kB / 0.8252 GB, free: 13.3 MB / 0.8074 GB Notification: Performance of NFVerifyModel.verify: time 5.785e-05/0.01232, allocations: 35.94 kB / 0.8253 GB, free: 13.27 MB / 0.8074 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.01257, allocations: 159.4 kB / 0.8254 GB, free: 13.11 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 1.514e-05/0.01258, allocations: 4 kB / 0.8254 GB, free: 13.11 MB / 0.8074 GB Notification: Performance of FrontEnd: time 8.92e-07/0.01258, allocations: 0 / 0.8254 GB, free: 13.11 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.0126, allocations: 0 / 0.8254 GB, free: 13.11 MB / 0.8074 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.0006657/0.01326, allocations: 0.495 MB / 0.8259 GB, free: 12.57 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.0133, allocations: 8.031 kB / 0.8259 GB, free: 12.57 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.01336, allocations: 28.91 kB / 0.826 GB, free: 12.54 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.01359, allocations: 185 kB / 0.8261 GB, free: 12.34 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.0136, allocations: 16.38 kB / 0.8261 GB, free: 12.32 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.01364, allocations: 16.38 kB / 0.8262 GB, free: 12.3 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.01374, allocations: 78.19 kB / 0.8262 GB, free: 12.22 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.01375, allocations: 3.938 kB / 0.8262 GB, free: 12.22 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.01376, allocations: 4 kB / 0.8262 GB, free: 12.21 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.01377, allocations: 7.984 kB / 0.8263 GB, free: 12.21 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.062e-05/0.01381, allocations: 31.78 kB / 0.8263 GB, free: 12.18 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.01423, allocations: 282.6 kB / 0.8266 GB, free: 11.88 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.01437, allocations: 70.47 kB / 0.8266 GB, free: 11.8 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.327e-05/0.01439, allocations: 20.84 kB / 0.8266 GB, free: 11.78 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.01441, allocations: 4 kB / 0.8266 GB, free: 11.78 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.501e-05/0.01451, allocations: 83.3 kB / 0.8267 GB, free: 11.68 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.01451, allocations: 0 / 0.8267 GB, free: 11.68 MB / 0.8074 GB Notification: Performance of matching and sorting (n=16): time 0.0001808/0.01469, allocations: 112.9 kB / 0.8268 GB, free: 11.57 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.01472, allocations: 55.41 kB / 0.8269 GB, free: 11.5 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.01482, allocations: 195.4 kB / 0.8271 GB, free: 11.3 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.01484, allocations: 33.7 kB / 0.8271 GB, free: 11.26 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.0149, allocations: 116.5 kB / 0.8272 GB, free: 11.14 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.01492, allocations: 39.67 kB / 0.8273 GB, free: 11.1 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.01498, allocations: 61.64 kB / 0.8273 GB, free: 11.03 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.01506, allocations: 334.7 kB / 0.8276 GB, free: 10.7 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.01523, allocations: 108 kB / 0.8277 GB, free: 10.57 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.01534, allocations: 210.4 kB / 0.8279 GB, free: 10.32 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.01547, allocations: 179.2 kB / 0.8281 GB, free: 10.11 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.01547, allocations: 0 / 0.8281 GB, free: 10.11 MB / 0.8074 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002014/0.01567, allocations: 280.1 kB / 0.8284 GB, free: 9.805 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 5.128e-05/0.01572, allocations: 63.39 kB / 0.8284 GB, free: 9.73 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.01573, allocations: 4 kB / 0.8284 GB, free: 9.727 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.01574, allocations: 4 kB / 0.8284 GB, free: 9.723 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.108e-05/0.01581, allocations: 27.98 kB / 0.8285 GB, free: 9.695 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.01582, allocations: 12.09 kB / 0.8285 GB, free: 9.684 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.92e-05/0.0159, allocations: 23.88 kB / 0.8285 GB, free: 9.66 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.01591, allocations: 8 kB / 0.8285 GB, free: 9.652 MB / 0.8074 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 7.764e-05/0.01599, allocations: 134.6 kB / 0.8286 GB, free: 9.508 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.016, allocations: 15.98 kB / 0.8287 GB, free: 9.492 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.01611, allocations: 99.33 kB / 0.8287 GB, free: 9.387 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01611, allocations: 4 kB / 0.8287 GB, free: 9.383 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.01611, allocations: 4 kB / 0.8288 GB, free: 9.379 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01612, allocations: 0 / 0.8288 GB, free: 9.379 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.01637, allocations: 306.5 kB / 0.829 GB, free: 9.055 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01637, allocations: 0 / 0.829 GB, free: 9.055 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-05/0.0164, allocations: 15.98 kB / 0.8291 GB, free: 9.039 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.01643, allocations: 19.86 kB / 0.8291 GB, free: 9.02 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01643, allocations: 0 / 0.8291 GB, free: 9.02 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.01643, allocations: 0 / 0.8291 GB, free: 9.02 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.01644, allocations: 11.92 kB / 0.8291 GB, free: 9.008 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01644, allocations: 0 / 0.8291 GB, free: 9.008 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.01654, allocations: 187.4 kB / 0.8293 GB, free: 8.809 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.01655, allocations: 0 / 0.8293 GB, free: 8.809 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.01673, allocations: 15.98 kB / 0.8293 GB, free: 8.793 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.01677, allocations: 15.91 kB / 0.8293 GB, free: 8.777 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.01678, allocations: 12 kB / 0.8293 GB, free: 8.766 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 3.905e-05/0.01682, allocations: 51.09 kB / 0.8294 GB, free: 8.715 MB / 0.8074 GB Notification: Performance of sort global known variables: time 5e-08/0.01682, allocations: 0 / 0.8294 GB, free: 8.715 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.0001784/0.017, allocations: 40 kB / 0.8294 GB, free: 8.676 MB / 0.8074 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.0003082/0.01731, allocations: 189.5 kB / 0.8296 GB, free: 8.523 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.01751, allocations: 271.2 kB / 0.8298 GB, free: 8.219 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.01752, allocations: 8.094 kB / 0.8298 GB, free: 8.211 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 4.765e-05/0.01757, allocations: 43.94 kB / 0.8299 GB, free: 8.168 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.01786, allocations: 399.7 kB / 0.8303 GB, free: 7.707 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.0184, allocations: 312.3 kB / 0.8306 GB, free: 7.371 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.334e-05/0.01845, allocations: 75.84 kB / 0.8306 GB, free: 7.277 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 5.439e-05/0.0185, allocations: 21.94 kB / 0.8307 GB, free: 7.254 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.01864, allocations: 113.2 kB / 0.8308 GB, free: 7.145 MB / 0.8074 GB Notification: Performance of SimCode: time 1.042e-06/0.01864, allocations: 0 / 0.8308 GB, free: 7.145 MB / 0.8074 GB Notification: Performance of Templates: time 0.005423/0.02406, allocations: 3.871 MB / 0.8345 GB, free: 3.336 MB / 0.8074 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.222989588044584]