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.00186/0.00186, allocations: 106 kB / 16.27 MB, free: 6.414 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.002092/0.002092, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.629/2.629, allocations: 469.4 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 66.69 kB / 0.9088 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3437, allocations: 159.1 MB / 1.064 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003777/0.3475, allocations: 1.776 MB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.3489, allocations: 0.6196 MB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.3491, allocations: 0 / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.3493, allocations: 31.73 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000526/0.3499, allocations: 127.4 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.3503, allocations: 159.6 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003545/0.3507, allocations: 239.4 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.3509, allocations: 37.66 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.351, allocations: 107.7 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006207/0.3573, allocations: 1.047 MB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.623e-05/0.3574, allocations: 16 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.3575, allocations: 35.98 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.128e-05/0.3576, allocations: 39.84 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.3578, allocations: 107.4 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004306/0.3582, allocations: 211.4 kB / 1.069 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3582, allocations: 0 / 1.069 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.847e-06/0.3582, allocations: 3.984 kB / 1.069 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.3583, allocations: 0 / 1.069 GB, free: 10.68 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.0008962/0.3592, allocations: 0.5526 MB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3592, allocations: 11.97 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.707e-05/0.3593, allocations: 24.75 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.3597, allocations: 252.1 kB / 1.069 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3597, allocations: 12.38 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.3597, allocations: 12.12 kB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.36, allocations: 109.6 kB / 1.07 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.36, allocations: 3.938 kB / 1.07 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.36, allocations: 4 kB / 1.07 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.36, allocations: 4 kB / 1.07 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.3602, allocations: 59.95 kB / 1.07 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009804/0.3611, allocations: 488.1 kB / 1.07 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.3614, allocations: 114.7 kB / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.625e-05/0.3615, allocations: 36.89 kB / 1.07 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.3616, allocations: 11.98 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.3617, allocations: 103.2 kB / 1.07 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.244e-06/0.3617, allocations: 0 / 1.07 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.0003995/0.3621, allocations: 169.4 kB / 1.071 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.3622, allocations: 63.39 kB / 1.071 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.3624, allocations: 211.6 kB / 1.071 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.3625, allocations: 33.7 kB / 1.071 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.987e-05/0.3626, allocations: 116.5 kB / 1.071 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.3626, allocations: 47.44 kB / 1.071 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.3628, allocations: 57.67 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3629, allocations: 326.8 kB / 1.071 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.3631, allocations: 67.95 kB / 1.071 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.3633, allocations: 133.4 kB / 1.072 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.3636, allocations: 216.1 kB / 1.072 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3636, allocations: 4 kB / 1.072 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006012/0.3642, allocations: 324.6 kB / 1.072 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/0.3643, allocations: 63.39 kB / 1.072 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3643, allocations: 3.938 kB / 1.072 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3643, allocations: 12.14 kB / 1.072 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.3644, allocations: 19.94 kB / 1.072 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.3644, allocations: 4 kB / 1.072 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.3647, allocations: 23.83 kB / 1.072 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.3647, allocations: 15.98 kB / 1.072 GB, free: 6.719 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.0001478/0.3648, allocations: 140 kB / 1.072 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.3649, allocations: 23.7 kB / 1.072 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.3652, allocations: 154.5 kB / 1.072 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3652, allocations: 11.94 kB / 1.073 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3652, allocations: 0 / 1.073 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3652, allocations: 0 / 1.073 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005773/0.3658, allocations: 494.1 kB / 1.073 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.3658, allocations: 4 kB / 1.073 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.968e-05/0.3658, allocations: 4 kB / 1.073 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3659, allocations: 0 / 1.073 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.3659, allocations: 8 kB / 1.073 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.3659, allocations: 0 / 1.073 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3659, allocations: 0 / 1.073 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.3661, allocations: 247.1 kB / 1.073 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.3662, allocations: 104.8 kB / 1.073 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.3663, allocations: 0 / 1.073 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.3664, allocations: 7.984 kB / 1.073 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.3665, allocations: 15.98 kB / 1.073 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.3665, allocations: 15.98 kB / 1.073 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001239/0.3666, allocations: 145.5 kB / 1.074 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.61e-07/0.3666, allocations: 4 kB / 1.074 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003315/0.367, allocations: 51.91 kB / 1.074 GB, free: 5.215 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.000385/0.3674, allocations: 170.7 kB / 1.074 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000452/0.3678, allocations: 268.8 kB / 1.074 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3678, allocations: 0 / 1.074 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.428e-05/0.3679, allocations: 52.3 kB / 1.074 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.3684, allocations: 67.78 kB / 1.074 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006839/0.3691, allocations: 341.2 kB / 1.074 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.3693, allocations: 0.7357 MB / 1.075 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.3694, allocations: 27.42 kB / 1.075 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.3694, allocations: 0 / 1.075 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of Templates: time 0.006037/0.3755, allocations: 3.274 MB / 1.078 GB, free: 264 kB / 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