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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001171/0.001171, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001289/0.001289, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.708/2.708, allocations: 436.5 MB / 0.7104 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003741, allocations: 15.94 kB / 0.8708 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7651/0.7655, allocations: 153.6 MB / 1.021 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.00225/0.7678, allocations: 1.525 MB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.7689, allocations: 0.6354 MB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.405e-05/0.769, allocations: 8 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.7692, allocations: 19.8 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003162/0.7695, allocations: 111.7 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.7699, allocations: 146.5 kB / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.7701, allocations: 139.7 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.7703, allocations: 37.66 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.7704, allocations: 87.67 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.7717, allocations: 0.8662 MB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.7718, allocations: 8 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.609e-05/0.7718, allocations: 19.94 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.413e-05/0.7719, allocations: 39.81 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.051e-05/0.772, allocations: 53.64 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.7722, allocations: 141.7 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.7722, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7722, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.7722, allocations: 4 kB / 1.025 GB, free: 13.3 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.0007666/0.773, allocations: 0.5097 MB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.773, allocations: 11.98 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.834e-05/0.7731, allocations: 19.81 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.7735, allocations: 258.5 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.7735, allocations: 15.94 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.7736, allocations: 19.94 kB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.7738, allocations: 101.6 kB / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.7738, allocations: 4 kB / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.7738, allocations: 0 / 1.025 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.7738, allocations: 3.984 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.774, allocations: 55.97 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009307/0.7749, allocations: 0.5001 MB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.7752, allocations: 114.7 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.7752, allocations: 0 / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.7754, allocations: 107.3 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.7754, allocations: 0 / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003458/0.7758, allocations: 175.7 kB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.7758, allocations: 59.41 kB / 1.026 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.776, allocations: 199.7 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.7761, allocations: 33.7 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.681e-05/0.7762, allocations: 128.4 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.7762, allocations: 43.44 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.665e-05/0.7763, allocations: 4 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.7764, allocations: 330.8 kB / 1.027 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.7766, allocations: 63.95 kB / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.7768, allocations: 130.3 kB / 1.027 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.777, allocations: 135.3 kB / 1.027 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.777, allocations: 0 / 1.027 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000594/0.7776, allocations: 320.6 kB / 1.028 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/0.7777, allocations: 63.39 kB / 1.028 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.7777, allocations: 7.953 kB / 1.028 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.7777, allocations: 4 kB / 1.028 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.759e-05/0.7778, allocations: 23.92 kB / 1.028 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.7778, allocations: 4 kB / 1.028 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.778, allocations: 27.98 kB / 1.028 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.7781, allocations: 12 kB / 1.028 GB, free: 9.566 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 ($PRE.timSer1.timeConverted,timSer1.timeConverted,$PRE.timSer.timeConverted,timSer.timeConverted,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,timSer.active,$PRE.timSer.tActivateLast,timSer.tActivateLast,timSer.sampleTrigger,timSer1.active,$PRE.timSer1.tActivateLast,timSer1.tActivateLast,timSer1.sampleTrigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.7782, allocations: 148 kB / 1.028 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.7783, allocations: 15.81 kB / 1.028 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.7785, allocations: 155.3 kB / 1.028 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.7785, allocations: 11.89 kB / 1.028 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.7785, allocations: 3.938 kB / 1.028 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.7786, allocations: 4 kB / 1.028 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006102/0.7792, allocations: 485 kB / 1.029 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.7792, allocations: 7.953 kB / 1.029 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.7792, allocations: 15.86 kB / 1.029 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.7792, allocations: 0 / 1.029 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.7793, allocations: 4 kB / 1.029 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7793, allocations: 4 kB / 1.029 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7793, allocations: 0 / 1.029 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.7795, allocations: 231.3 kB / 1.029 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.553e-05/0.7796, allocations: 112.8 kB / 1.029 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.7797, allocations: 4 kB / 1.029 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.7798, allocations: 15.98 kB / 1.029 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.7799, allocations: 19.97 kB / 1.029 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.7799, allocations: 11.94 kB / 1.029 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001341/0.78, allocations: 141.5 kB / 1.029 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.78, allocations: 0 / 1.029 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003235/0.7804, allocations: 56.14 kB / 1.029 GB, free: 8.051 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003733/0.7807, allocations: 176.3 kB / 1.029 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.7811, allocations: 246.5 kB / 1.03 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7812, allocations: 320 / 1.03 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.638e-05/0.7812, allocations: 51.97 kB / 1.03 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.7816, allocations: 47.95 kB / 1.03 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006494/0.7823, allocations: 364.4 kB / 1.03 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.7826, allocations: 0.7323 MB / 1.031 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.587e-05/0.7827, allocations: 25.94 kB / 1.031 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.7827, allocations: 23.42 kB / 1.031 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7827, allocations: 0 / 1.031 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of Templates: time 0.006843/0.7896, allocations: 3.238 MB / 1.034 GB, free: 3.133 MB / 0.7794 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","../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches