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.005442/0.005442, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001215/0.001215, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.562/2.562, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.89 kB / 1.054 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9349/0.9361, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.00323/0.9393, allocations: 1.787 MB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.9406, allocations: 0.6235 MB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.9407, allocations: 0 / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.9409, allocations: 27.73 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003999/0.9413, allocations: 131.4 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.9417, allocations: 158.7 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.942, allocations: 243.5 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.9422, allocations: 37.66 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.9423, allocations: 111.6 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006145/0.9485, allocations: 1.047 MB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.295e-05/0.9486, allocations: 16 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.9487, allocations: 36 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.728e-05/0.9488, allocations: 39.91 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.9489, allocations: 99.42 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.9493, allocations: 219.3 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.9494, allocations: 4 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9494, allocations: 0 / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.9494, allocations: 0 / 1.212 GB, free: 9.305 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.0009996/0.9504, allocations: 0.5544 MB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.9504, allocations: 8.031 kB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.9506, allocations: 28.73 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.9509, allocations: 252 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.951, allocations: 8.375 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.951, allocations: 24.12 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.9512, allocations: 107.7 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.9513, allocations: 0 / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.9513, allocations: 4 kB / 1.213 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.9513, allocations: 4 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.9514, allocations: 59.95 kB / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009876/0.9524, allocations: 496.1 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.9527, allocations: 106.6 kB / 1.214 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.661e-05/0.9528, allocations: 36.89 kB / 1.214 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.9529, allocations: 11.98 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.953, allocations: 99.36 kB / 1.214 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.9531, allocations: 0 / 1.214 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0004133/0.9535, allocations: 180.1 kB / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.9536, allocations: 59.33 kB / 1.214 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.9538, allocations: 207.7 kB / 1.214 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.9539, allocations: 33.7 kB / 1.214 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.954, allocations: 132.3 kB / 1.214 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/0.954, allocations: 39.53 kB / 1.214 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.9542, allocations: 61.67 kB / 1.215 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.9543, allocations: 326.8 kB / 1.215 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.9545, allocations: 67.89 kB / 1.215 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.9547, allocations: 131.7 kB / 1.215 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.955, allocations: 216.2 kB / 1.215 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.955, allocations: 4.031 kB / 1.215 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006252/0.9556, allocations: 328.5 kB / 1.216 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/0.9557, allocations: 67.39 kB / 1.216 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.9557, allocations: 7.922 kB / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.9558, allocations: 4 kB / 1.216 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.971e-05/0.9559, allocations: 15.94 kB / 1.216 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.9559, allocations: 4 kB / 1.216 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.9561, allocations: 27.98 kB / 1.216 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.9561, allocations: 19.98 kB / 1.216 GB, free: 5.316 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.0001452/0.9563, allocations: 140 kB / 1.216 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.9563, allocations: 15.81 kB / 1.216 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.9566, allocations: 151.4 kB / 1.216 GB, free: 5 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.9566, allocations: 7.938 kB / 1.216 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.9566, allocations: 0 / 1.216 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.9566, allocations: 0 / 1.216 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006231/0.9572, allocations: 486.2 kB / 1.216 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.9573, allocations: 0 / 1.216 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.648e-05/0.9573, allocations: 15.94 kB / 1.216 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.9573, allocations: 0 / 1.216 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.9573, allocations: 0 / 1.216 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.9573, allocations: 0 / 1.216 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.9573, allocations: 7.984 kB / 1.217 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.9576, allocations: 234.3 kB / 1.217 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.9578, allocations: 108.8 kB / 1.217 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.9578, allocations: 12 kB / 1.217 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.9579, allocations: 7.984 kB / 1.217 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.958, allocations: 15.98 kB / 1.217 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.9581, allocations: 11.92 kB / 1.217 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001589/0.9582, allocations: 145.5 kB / 1.217 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9582, allocations: 3.938 kB / 1.217 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003458/0.9586, allocations: 40 kB / 1.217 GB, free: 3.84 MB / 0.9356 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.0004492/0.959, allocations: 175 kB / 1.217 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004727/0.9595, allocations: 250.6 kB / 1.217 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.9595, allocations: 0 / 1.217 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.9596, allocations: 47.98 kB / 1.218 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.9601, allocations: 71.08 kB / 1.218 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007252/0.9608, allocations: 319.5 kB / 1.218 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.9612, allocations: 0.7281 MB / 1.219 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.9613, allocations: 29.92 kB / 1.219 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.9614, allocations: 23.44 kB / 1.219 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.9614, allocations: 0 / 1.219 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of Templates: time 0.00859/0.97, allocations: 3.581 MB / 1.222 GB, free: 14.61 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/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