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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001784/0.001784, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.002021/0.002021, allocations: 198.7 kB / 16.91 MB, free: 6.195 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.364/1.364, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.715/2.715, allocations: 482.2 MB / 0.7548 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001904, allocations: 73.22 kB / 0.9238 GB, free: 0.5547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8509/0.8528, allocations: 162.2 MB / 1.082 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003371/0.8562, allocations: 1.928 MB / 1.084 GB, free: 392 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.8575, allocations: 0.6633 MB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.579e-05/0.8576, allocations: 1.094 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.8578, allocations: 24.95 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004139/0.8582, allocations: 100.4 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.8587, allocations: 146.5 kB / 1.085 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.859, allocations: 243.8 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.8592, allocations: 41.48 kB / 1.085 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.8594, allocations: 109 kB / 1.085 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01646/0.8758, allocations: 1.036 MB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.258e-05/0.8759, allocations: 18.06 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.8761, allocations: 41.69 kB / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.081e-05/0.8762, allocations: 43.19 kB / 1.086 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.8764, allocations: 99 kB / 1.087 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.8767, allocations: 147.7 kB / 1.087 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.8767, allocations: 1.281 kB / 1.087 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.328e-06/0.8767, allocations: 0 / 1.087 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.8767, allocations: 3.938 kB / 1.087 GB, free: 15.2 MB / 0.8419 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.0009051/0.8776, allocations: 0.556 MB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.8777, allocations: 10.78 kB / 1.087 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.224e-05/0.8778, allocations: 20.41 kB / 1.087 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.8781, allocations: 247.1 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.8782, allocations: 12.5 kB / 1.087 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.8782, allocations: 28.69 kB / 1.088 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.8785, allocations: 106.6 kB / 1.088 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.8785, allocations: 5.125 kB / 1.088 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.8785, allocations: 1.938 kB / 1.088 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.8785, allocations: 2.312 kB / 1.088 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.8786, allocations: 60.25 kB / 1.088 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000983/0.8796, allocations: 499.3 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.8799, allocations: 102.6 kB / 1.088 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.177e-05/0.88, allocations: 39.14 kB / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.88, allocations: 1.344 kB / 1.088 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.8802, allocations: 107.4 kB / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.8802, allocations: 0 / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.0003785/0.8806, allocations: 177.2 kB / 1.089 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.8807, allocations: 54.14 kB / 1.089 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.8809, allocations: 208.8 kB / 1.089 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.881, allocations: 37.69 kB / 1.089 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.8811, allocations: 128.1 kB / 1.089 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.8811, allocations: 44.02 kB / 1.089 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.8813, allocations: 62.66 kB / 1.089 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.8814, allocations: 330.6 kB / 1.089 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.8816, allocations: 66.38 kB / 1.089 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.8819, allocations: 130.4 kB / 1.09 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.8822, allocations: 215.3 kB / 1.09 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.8822, allocations: 1.312 kB / 1.09 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006525/0.8829, allocations: 331.6 kB / 1.09 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.771e-05/0.883, allocations: 69.36 kB / 1.09 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.883, allocations: 6.375 kB / 1.09 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.883, allocations: 2.812 kB / 1.09 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.894e-05/0.8831, allocations: 23.45 kB / 1.09 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.8831, allocations: 3.344 kB / 1.09 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.8833, allocations: 29.59 kB / 1.09 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.8834, allocations: 12.19 kB / 1.09 GB, free: 12.49 MB / 0.8419 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.0001675/0.8836, allocations: 146.5 kB / 1.09 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.8836, allocations: 20.75 kB / 1.09 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.8839, allocations: 149.1 kB / 1.091 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.8839, allocations: 3.062 kB / 1.091 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.8839, allocations: 1.172 kB / 1.091 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.8839, allocations: 0 / 1.091 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006925/0.8846, allocations: 495.8 kB / 1.091 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.8846, allocations: 0.7031 kB / 1.091 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.8847, allocations: 7.297 kB / 1.091 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.8847, allocations: 0 / 1.091 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.8847, allocations: 2.734 kB / 1.091 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.8847, allocations: 1.125 kB / 1.091 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8847, allocations: 5.125 kB / 1.091 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.885, allocations: 239.4 kB / 1.091 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.8851, allocations: 104.9 kB / 1.091 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.8851, allocations: 11.42 kB / 1.091 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.8852, allocations: 10.72 kB / 1.091 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/0.8853, allocations: 12.77 kB / 1.091 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.8854, allocations: 12.48 kB / 1.091 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001506/0.8855, allocations: 146.3 kB / 1.092 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8855, allocations: 0 / 1.092 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003247/0.8859, allocations: 52.56 kB / 1.092 GB, free: 11.48 MB / 0.8419 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.0004299/0.8863, allocations: 176.1 kB / 1.092 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004885/0.8868, allocations: 257.1 kB / 1.092 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8868, allocations: 0 / 1.092 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.8869, allocations: 50.05 kB / 1.092 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.8874, allocations: 61.03 kB / 1.092 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007458/0.8881, allocations: 411.5 kB / 1.093 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.8885, allocations: 0.7273 MB / 1.093 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.8886, allocations: 27.64 kB / 1.093 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.8886, allocations: 0 / 1.093 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of Templates: time 0.006951/0.8956, allocations: 3.274 MB / 1.096 GB, free: 9.801 MB / 0.8419 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