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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 107.1 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 192.2 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.624/2.624, allocations: 461.7 MB / 0.7352 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 64.12 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9271/0.9291, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003363/0.9325, allocations: 1.785 MB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.9339, allocations: 0.6196 MB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.387e-05/0.934, allocations: 4 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.9342, allocations: 23.73 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004157/0.9346, allocations: 127.4 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.9351, allocations: 163.1 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.9354, allocations: 235.5 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.9355, allocations: 41.59 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.9357, allocations: 115.6 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005855/0.9415, allocations: 1.048 MB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.902e-05/0.9416, allocations: 20 kB / 1.212 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.9417, allocations: 39.98 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.425e-05/0.9418, allocations: 31.91 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.9419, allocations: 103.4 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.9423, allocations: 215.3 kB / 1.213 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.9423, allocations: 0 / 1.213 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9423, allocations: 4 kB / 1.213 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.9424, allocations: 0 / 1.213 GB, free: 9.32 MB / 0.9356 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.0009802/0.9433, allocations: 0.5583 MB / 1.213 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.9434, allocations: 8.031 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.9435, allocations: 20.75 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/0.944, allocations: 252 kB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.944, allocations: 16.36 kB / 1.213 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.944, allocations: 24.12 kB / 1.213 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.9443, allocations: 104.1 kB / 1.214 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.9443, allocations: 0 / 1.214 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.9443, allocations: 4 kB / 1.214 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.9443, allocations: 4 kB / 1.214 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.9445, allocations: 55.97 kB / 1.214 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009829/0.9455, allocations: 0.4884 MB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.9458, allocations: 110.6 kB / 1.214 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.899e-05/0.9458, allocations: 36.89 kB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.9459, allocations: 4 kB / 1.214 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.9461, allocations: 107.3 kB / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.9461, allocations: 0 / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0003949/0.9465, allocations: 179.4 kB / 1.215 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.9465, allocations: 59.41 kB / 1.215 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.9467, allocations: 203.7 kB / 1.215 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.9468, allocations: 33.7 kB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.9469, allocations: 132.3 kB / 1.215 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.9469, allocations: 39.55 kB / 1.215 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.947, allocations: 61.67 kB / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.9472, allocations: 334.8 kB / 1.215 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.9473, allocations: 67.89 kB / 1.215 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.9476, allocations: 123.7 kB / 1.216 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.9479, allocations: 213.3 kB / 1.216 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.9479, allocations: 4 kB / 1.216 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006066/0.9485, allocations: 336 kB / 1.216 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.43e-05/0.9486, allocations: 67.39 kB / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.9486, allocations: 0 / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.342e-05/0.9487, allocations: 7.938 kB / 1.216 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.7e-05/0.9487, allocations: 23.92 kB / 1.216 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.9488, allocations: 0 / 1.216 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.949, allocations: 27.83 kB / 1.216 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.949, allocations: 11.98 kB / 1.216 GB, free: 5.336 MB / 0.9356 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.0001521/0.9492, allocations: 144.2 kB / 1.216 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.9492, allocations: 15.81 kB / 1.216 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.9495, allocations: 151.4 kB / 1.216 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.9495, allocations: 0 / 1.216 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.9495, allocations: 4 kB / 1.216 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-05/0.9496, allocations: 104.8 kB / 1.217 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.9496, allocations: 4 kB / 1.217 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.9497, allocations: 7.984 kB / 1.217 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.9498, allocations: 15.98 kB / 1.217 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002658/0.9501, allocations: 220.8 kB / 1.217 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000288/0.9504, allocations: 312.3 kB / 1.217 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.805e-05/0.9505, allocations: 51.91 kB / 1.217 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001229/0.9506, allocations: 149.5 kB / 1.217 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of Backend: time 4.91e-07/0.9506, allocations: 0 / 1.217 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008823/0.9515, allocations: 370.8 kB / 1.218 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000896/0.9524, allocations: 0.7679 MB / 1.218 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of Templates: time 0.008507/0.9609, allocations: 3.638 MB / 1.222 GB, free: 15.35 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches