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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005215/0.005215, allocations: 103.5 kB / 15.73 MB, free: 6.043 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.00117/0.00117, allocations: 201.8 kB / 16.68 MB, free: 5.98 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.747/2.747, allocations: 461.8 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.89 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3573, allocations: 157.4 MB / 1.208 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003008/0.3604, allocations: 1.777 MB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3615, allocations: 0.6357 MB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.975e-05/0.3616, allocations: 0 / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.3619, allocations: 31.7 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003758/0.3623, allocations: 123.4 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.3626, allocations: 161.6 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.363, allocations: 235.5 kB / 1.211 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.3631, allocations: 45.61 kB / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.3632, allocations: 111.7 kB / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005928/0.3692, allocations: 1.047 MB / 1.212 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.3692, allocations: 16 kB / 1.212 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.3693, allocations: 35.98 kB / 1.212 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.3694, allocations: 43.84 kB / 1.212 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.3695, allocations: 95.44 kB / 1.212 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.3699, allocations: 219.3 kB / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3699, allocations: 0 / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3699, allocations: 4 kB / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.3699, allocations: 0 / 1.212 GB, free: 5.383 MB / 0.9669 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.0008162/0.3707, allocations: 0.5565 MB / 1.213 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3708, allocations: 8.031 kB / 1.213 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.056e-05/0.3709, allocations: 20.75 kB / 1.213 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.3712, allocations: 248.1 kB / 1.213 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.3712, allocations: 8.375 kB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.3713, allocations: 24.11 kB / 1.213 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.3715, allocations: 105.6 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3715, allocations: 4 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.3715, allocations: 7.984 kB / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3715, allocations: 4 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.3717, allocations: 55.97 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008489/0.3725, allocations: 496 kB / 1.214 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.3728, allocations: 110.7 kB / 1.214 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.043e-05/0.3729, allocations: 36.84 kB / 1.214 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.3729, allocations: 0 / 1.214 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.3731, allocations: 111.2 kB / 1.214 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.3731, allocations: 4 kB / 1.214 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0003529/0.3735, allocations: 180 kB / 1.214 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.3735, allocations: 55.41 kB / 1.214 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.3737, allocations: 203.7 kB / 1.214 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.3738, allocations: 33.7 kB / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.3739, allocations: 136.3 kB / 1.214 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.3739, allocations: 27.56 kB / 1.214 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.374, allocations: 65.67 kB / 1.215 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3742, allocations: 334.8 kB / 1.215 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.3743, allocations: 63.95 kB / 1.215 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.3746, allocations: 126.3 kB / 1.215 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.3749, allocations: 217.3 kB / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3749, allocations: 0 / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005747/0.3755, allocations: 331.3 kB / 1.216 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.473e-05/0.3755, allocations: 71.55 kB / 1.216 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3756, allocations: 3.938 kB / 1.216 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3756, allocations: 4 kB / 1.216 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.083e-05/0.3757, allocations: 19.92 kB / 1.216 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3757, allocations: 4 kB / 1.216 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.3759, allocations: 27.83 kB / 1.216 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.3759, allocations: 15.98 kB / 1.216 GB, free: 1.406 MB / 0.9669 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.0001255/0.376, allocations: 144 kB / 1.216 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.3761, allocations: 19.81 kB / 1.216 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.3763, allocations: 151.4 kB / 1.216 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/0.3763, allocations: 7.938 kB / 1.216 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3764, allocations: 3.984 kB / 1.216 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3764, allocations: 0 / 1.216 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005889/0.377, allocations: 478.3 kB / 1.216 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.377, allocations: 0 / 1.216 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.377, allocations: 15.92 kB / 1.216 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.377, allocations: 0 / 1.216 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.3771, allocations: 11.94 kB / 1.216 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3771, allocations: 0 / 1.216 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3771, allocations: 0 / 1.216 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.3773, allocations: 246 kB / 1.217 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.3774, allocations: 104.8 kB / 1.217 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.3774, allocations: 11.98 kB / 1.217 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3775, allocations: 4 kB / 1.217 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.188e-05/0.3776, allocations: 23.97 kB / 1.217 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.3777, allocations: 7.938 kB / 1.217 GB, free: 104 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001583/0.3778, allocations: 145.5 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3778, allocations: 0 / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003067/0.3781, allocations: 47.98 kB / 1.217 GB, free: 15.91 MB / 0.9825 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.0003625/0.3785, allocations: 162.9 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004094/0.3789, allocations: 254.5 kB / 1.217 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3789, allocations: 320 / 1.217 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.886e-05/0.379, allocations: 59.95 kB / 1.218 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.3795, allocations: 69.86 kB / 1.218 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006599/0.3801, allocations: 319.2 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.3805, allocations: 0.7281 MB / 1.219 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.09e-05/0.3806, allocations: 29.92 kB / 1.219 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.3806, allocations: 27.42 kB / 1.219 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3806, allocations: 0 / 1.219 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of Templates: time 0.007274/0.3879, allocations: 3.661 MB / 1.222 GB, free: 10.6 MB / 0.9825 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches