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.001266/0.001266, 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.00139/0.00139, 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.736/2.736, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 62.08 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.424, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.005283/0.4293, allocations: 1.924 MB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002314/0.4316, allocations: 0.682 MB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.4319, allocations: 0 / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.4322, allocations: 27.8 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005361/0.4328, allocations: 91.66 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.4334, allocations: 146.8 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000468/0.4339, allocations: 227.4 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.4341, allocations: 45.56 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.4344, allocations: 95.62 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01578/0.4502, allocations: 0.9698 MB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.996e-05/0.4503, allocations: 12 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.4504, allocations: 31.98 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.4505, allocations: 39.83 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.4506, allocations: 83.52 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.4509, allocations: 211.3 kB / 1.057 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4509, allocations: 0 / 1.057 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.41e-07/0.4509, allocations: 0 / 1.057 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.451, allocations: 0 / 1.057 GB, free: 4.477 MB / 0.8106 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.0008118/0.4518, allocations: 0.5566 MB / 1.057 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.4518, allocations: 12.03 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.956e-05/0.4519, allocations: 24.66 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.4522, allocations: 240.1 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.4523, allocations: 16.36 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.4523, allocations: 20.12 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.4525, allocations: 101.6 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.4526, allocations: 4 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.4526, allocations: 8 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.4526, allocations: 0 / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.4527, allocations: 62.95 kB / 1.058 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008821/0.4536, allocations: 0.4884 MB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.4539, allocations: 106.7 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.735e-05/0.454, allocations: 40.84 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.454, allocations: 0 / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.4542, allocations: 117.1 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.4542, allocations: 0 / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.000373/0.4546, allocations: 175.6 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.4547, allocations: 59.39 kB / 1.059 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.4549, allocations: 207.6 kB / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.928e-05/0.4549, allocations: 33.7 kB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.455, allocations: 128.5 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.4551, allocations: 35.47 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.4552, allocations: 65.67 kB / 1.059 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4553, allocations: 330.8 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.4555, allocations: 63.95 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.4558, allocations: 123.7 kB / 1.059 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.4561, allocations: 213.3 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4561, allocations: 0 / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005995/0.4567, allocations: 340.1 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/0.4568, allocations: 63.39 kB / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.4568, allocations: 7.938 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4568, allocations: 4 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.4569, allocations: 23.92 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4569, allocations: 4 kB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.4571, allocations: 23.83 kB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.4571, allocations: 15.98 kB / 1.06 GB, free: 0.5039 MB / 0.8106 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.0001402/0.4573, allocations: 144.2 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.4573, allocations: 19.72 kB / 1.06 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.4576, allocations: 151.4 kB / 1.06 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.4576, allocations: 0 / 1.06 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4576, allocations: 0 / 1.06 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.4576, allocations: 7.938 kB / 1.06 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/0.4582, allocations: 490.2 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4582, allocations: 0 / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.4583, allocations: 11.92 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4583, allocations: 4 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.4583, allocations: 4.047 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.4583, allocations: 0 / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4583, allocations: 3.984 kB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.4585, allocations: 237.5 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-05/0.4586, allocations: 112.8 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.4587, allocations: 0 / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.4588, allocations: 15.98 kB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.329e-05/0.4589, allocations: 11.98 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.4589, allocations: 11.98 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001187/0.459, allocations: 145.5 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.459, allocations: 3.938 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003207/0.4594, allocations: 47.91 kB / 1.061 GB, free: 15.01 MB / 0.8262 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.0003292/0.4597, allocations: 167 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004192/0.4601, allocations: 254.5 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4602, allocations: 0 / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.999e-05/0.4603, allocations: 51.5 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.4607, allocations: 64.92 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006332/0.4613, allocations: 373.4 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.4616, allocations: 0.7284 MB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.212e-05/0.4617, allocations: 25.94 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.4618, allocations: 23.42 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4618, allocations: 0 / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of Templates: time 0.00718/0.469, allocations: 3.368 MB / 1.066 GB, free: 9.941 MB / 0.8262 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