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.00152/0.00152, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 196.6 kB / 16.79 MB, free: 6.809 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.505/1.505, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.737/2.737, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 66.2 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3448, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003837/0.3487, allocations: 1.931 MB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3502, allocations: 0.6704 MB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000182/0.3504, allocations: 11.94 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.3507, allocations: 23.8 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004047/0.3511, allocations: 91.66 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.3516, allocations: 143.8 kB / 1.056 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.3519, allocations: 231.4 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.3521, allocations: 37.58 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.3523, allocations: 103.6 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01322/0.3655, allocations: 0.9597 MB / 1.057 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.597e-05/0.3656, allocations: 12 kB / 1.057 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.3657, allocations: 35.98 kB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.966e-05/0.3658, allocations: 39.83 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.366, allocations: 83.52 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.3663, allocations: 147.7 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3663, allocations: 3.938 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.42e-07/0.3663, allocations: 0 / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.3663, allocations: 0 / 1.057 GB, free: 4.008 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.001006/0.3673, allocations: 0.5566 MB / 1.058 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3674, allocations: 15.97 kB / 1.058 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.3675, allocations: 24.66 kB / 1.058 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.3679, allocations: 248.1 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.3679, allocations: 20.34 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.3679, allocations: 20.12 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.3682, allocations: 104.1 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3682, allocations: 0 / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.3682, allocations: 0 / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3682, allocations: 4 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.3684, allocations: 59.97 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009579/0.3693, allocations: 488.1 kB / 1.059 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.3696, allocations: 118.7 kB / 1.059 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.975e-05/0.3697, allocations: 36.84 kB / 1.059 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.3698, allocations: 4 kB / 1.059 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.37, allocations: 103.3 kB / 1.059 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.853e-06/0.37, allocations: 4 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0003946/0.3704, allocations: 173.3 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.3704, allocations: 55.41 kB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.3707, allocations: 211.6 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.3707, allocations: 33.7 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.3708, allocations: 124.4 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.3709, allocations: 47.39 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.371, allocations: 61.67 kB / 1.06 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3711, allocations: 334.8 kB / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.3713, allocations: 63.95 kB / 1.06 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.3716, allocations: 127.6 kB / 1.06 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.3719, allocations: 217 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3719, allocations: 0 / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006304/0.3726, allocations: 324.6 kB / 1.061 GB, free: 192 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.827e-05/0.3726, allocations: 63.39 kB / 1.061 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.3727, allocations: 12.09 kB / 1.061 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3727, allocations: 0 / 1.061 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.267e-05/0.3728, allocations: 27.92 kB / 1.061 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3728, allocations: 0 / 1.061 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.373, allocations: 27.83 kB / 1.061 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.373, allocations: 8 kB / 1.061 GB, free: 40 kB / 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.0001649/0.3732, allocations: 148 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.3732, allocations: 19.72 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.3735, allocations: 169.3 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3735, allocations: 0 / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3735, allocations: 0 / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3735, allocations: 0 / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006255/0.3742, allocations: 490.2 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3742, allocations: 0 / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-05/0.3742, allocations: 7.984 kB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.3742, allocations: 4 kB / 1.062 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.3743, allocations: 4 kB / 1.062 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3743, allocations: 0 / 1.062 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3743, allocations: 0 / 1.062 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.3745, allocations: 245.4 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.3747, allocations: 108.8 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.3747, allocations: 0 / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.3748, allocations: 11.98 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.3749, allocations: 19.92 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.3749, allocations: 8 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000136/0.3751, allocations: 153.5 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3751, allocations: 0 / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003337/0.3754, allocations: 47.91 kB / 1.062 GB, free: 14.53 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.0003527/0.3758, allocations: 156.5 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004314/0.3762, allocations: 262.5 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3762, allocations: 320 / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.3763, allocations: 54.88 kB / 1.063 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.3768, allocations: 57.61 kB / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007168/0.3775, allocations: 394.9 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.3778, allocations: 0.7322 MB / 1.064 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.3779, allocations: 23.42 kB / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of SimCode: time 1.963e-06/0.3779, allocations: 0 / 1.064 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of Templates: time 0.006369/0.3843, allocations: 3.26 MB / 1.067 GB, free: 9.559 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/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