Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.00134/0.00134, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001366/0.001366, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.511/1.511, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.982/2.982, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 63.89 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6409/0.6428, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003301/0.6461, allocations: 1.935 MB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.6474, allocations: 0.6703 MB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.248e-05/0.6475, allocations: 7.938 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.6477, allocations: 19.86 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.648, allocations: 95.64 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.6483, allocations: 151.5 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.6486, allocations: 227.4 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.6487, allocations: 37.67 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.6489, allocations: 103.6 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01673/0.6656, allocations: 0.9626 MB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.044e-05/0.6657, allocations: 12 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.6658, allocations: 31.98 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.858e-05/0.6659, allocations: 39.83 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.6661, allocations: 87.5 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.6664, allocations: 215.2 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6664, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6664, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.6664, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 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.0008836/0.6673, allocations: 0.5606 MB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.6674, allocations: 8.031 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.549e-05/0.6675, allocations: 24.66 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.6678, allocations: 248 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.6679, allocations: 12.38 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.346e-05/0.6679, allocations: 20.12 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.6681, allocations: 103.7 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.6682, allocations: 4 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.6682, allocations: 11.98 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.6682, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.6683, allocations: 59.91 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009154/0.6693, allocations: 488.2 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.6696, allocations: 110.7 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.27e-05/0.6696, allocations: 40.84 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.6697, allocations: 3.938 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.6699, allocations: 107.4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.6699, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003739/0.6702, allocations: 173.3 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.6703, allocations: 59.41 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.6705, allocations: 200.8 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.6706, allocations: 33.7 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.6707, allocations: 128.4 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.6707, allocations: 39.44 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.6709, allocations: 69.67 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.671, allocations: 326.8 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.6712, allocations: 63.95 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.6715, allocations: 129.2 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.6718, allocations: 214.4 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6718, allocations: 0 / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006479/0.6724, allocations: 344.2 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.764e-05/0.6725, allocations: 71.33 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.6725, allocations: 3.938 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.6726, allocations: 4 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.131e-05/0.6726, allocations: 16 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.6727, allocations: 11.92 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.6729, allocations: 19.84 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.6729, allocations: 15.98 kB / 1.025 GB, free: 10.41 MB / 0.7794 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.0001424/0.6731, allocations: 144.2 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.6731, allocations: 19.72 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.6734, allocations: 154.6 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.6734, allocations: 0 / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.6734, allocations: 4 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.6734, allocations: 0 / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006234/0.674, allocations: 490.1 kB / 1.025 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.674, allocations: 4 kB / 1.025 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.704e-05/0.6741, allocations: 8 kB / 1.025 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.6741, allocations: 3.938 kB / 1.025 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.6741, allocations: 7.984 kB / 1.025 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6741, allocations: 0 / 1.025 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6741, allocations: 0 / 1.025 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.6744, allocations: 239.1 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.923e-05/0.6745, allocations: 100.9 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.6745, allocations: 8 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.6747, allocations: 11.98 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/0.6747, allocations: 15.97 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.6748, allocations: 8 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001397/0.6749, allocations: 144.5 kB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6749, allocations: 0 / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003293/0.6752, allocations: 55.83 kB / 1.026 GB, free: 8.922 MB / 0.7794 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.0003902/0.6756, allocations: 169 kB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004335/0.6761, allocations: 250.6 kB / 1.026 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.6761, allocations: 0 / 1.026 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.6762, allocations: 58.44 kB / 1.026 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.6767, allocations: 55.88 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000688/0.6773, allocations: 373.4 kB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.6777, allocations: 0.7284 MB / 1.028 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.982e-05/0.6778, allocations: 26.03 kB / 1.028 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.6779, allocations: 23.42 kB / 1.028 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6779, allocations: 0 / 1.028 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of Templates: time 0.007856/0.6857, allocations: 3.364 MB / 1.031 GB, free: 3.855 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches