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.001147/0.001147, allocations: 108 kB / 15.61 MB, free: 152 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.001295/0.001295, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 472.6 MB / 0.7451 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 65.09 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3347, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003414/0.3381, allocations: 1.771 MB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.3394, allocations: 0.6197 MB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.869e-05/0.3394, allocations: 0 / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.3397, allocations: 27.73 kB / 1.071 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.34, allocations: 127.4 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.3404, allocations: 159.3 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.3406, allocations: 243.3 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.3408, allocations: 41.66 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.3409, allocations: 103.7 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005998/0.3469, allocations: 1.053 MB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.317e-05/0.347, allocations: 16 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.3471, allocations: 35.98 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.361e-05/0.3472, allocations: 47.83 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.3473, allocations: 95.52 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003561/0.3477, allocations: 211.4 kB / 1.073 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3477, allocations: 0 / 1.073 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.532e-06/0.3477, allocations: 3.938 kB / 1.073 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.3477, allocations: 0 / 1.073 GB, free: 6.188 MB / 0.8262 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.000847/0.3486, allocations: 0.5563 MB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3486, allocations: 12.03 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.078e-05/0.3487, allocations: 20.75 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.3491, allocations: 250 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.3491, allocations: 12.38 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/0.3492, allocations: 24.11 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.3494, allocations: 104.3 kB / 1.074 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3494, allocations: 0 / 1.074 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.3494, allocations: 8 kB / 1.074 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3494, allocations: 0 / 1.074 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.3496, allocations: 55.97 kB / 1.074 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009549/0.3505, allocations: 0.4884 MB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.3508, allocations: 118.7 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.04e-05/0.3509, allocations: 32.84 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.3509, allocations: 4 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.3511, allocations: 107.3 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.964e-06/0.3511, allocations: 0 / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.000372/0.3515, allocations: 175.4 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.3515, allocations: 59.41 kB / 1.075 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.3517, allocations: 207.6 kB / 1.075 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.3518, allocations: 33.7 kB / 1.075 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.3519, allocations: 136.3 kB / 1.075 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.3519, allocations: 31.5 kB / 1.075 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.352, allocations: 61.67 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3522, allocations: 334.8 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.3524, allocations: 59.95 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.3526, allocations: 131.6 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.3529, allocations: 217.3 kB / 1.076 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.353, allocations: 0 / 1.076 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006365/0.3536, allocations: 334.5 kB / 1.076 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.424e-05/0.3537, allocations: 63.39 kB / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.3537, allocations: 7.938 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3537, allocations: 0 / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3538, allocations: 28.08 kB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3538, allocations: 4 kB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.354, allocations: 27.83 kB / 1.076 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.3541, allocations: 12 kB / 1.076 GB, free: 2.211 MB / 0.8262 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.0001374/0.3542, allocations: 140 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.3543, allocations: 15.81 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/0.3545, allocations: 159.3 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3545, allocations: 4 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3545, allocations: 0 / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3546, allocations: 0 / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000584/0.3551, allocations: 494.2 kB / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3552, allocations: 0 / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.385e-05/0.3552, allocations: 7.984 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.3552, allocations: 4.047 kB / 1.077 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.3552, allocations: 7.984 kB / 1.077 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3552, allocations: 4 kB / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3553, allocations: 0 / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.3555, allocations: 241.8 kB / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.612e-05/0.3556, allocations: 112.7 kB / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.3557, allocations: 0 / 1.077 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.3558, allocations: 11.98 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/0.3558, allocations: 15.98 kB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.3559, allocations: 8 kB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00013/0.356, allocations: 149.5 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.473e-06/0.356, allocations: 0 / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003378/0.3564, allocations: 47.92 kB / 1.078 GB, free: 0.7148 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.00036/0.3567, allocations: 155.8 kB / 1.078 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004755/0.3572, allocations: 271.8 kB / 1.078 GB, free: 292 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3572, allocations: 0 / 1.078 GB, free: 292 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.251e-05/0.3573, allocations: 50.91 kB / 1.078 GB, free: 244 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.3578, allocations: 77.72 kB / 1.078 GB, free: 172 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000698/0.3585, allocations: 319.5 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.3588, allocations: 0.7281 MB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001156/0.359, allocations: 29.94 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.359, allocations: 23.42 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.359, allocations: 0 / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of Templates: time 0.008468/0.3675, allocations: 3.555 MB / 1.083 GB, free: 11.5 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/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