Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.00527/0.005269, allocations: 106 kB / 15.73 MB, free: 6 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.001257/0.001257, allocations: 192.2 kB / 16.67 MB, free: 5.922 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.151/2.151, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 0.9508 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.032, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003962/1.036, allocations: 1.777 MB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001333/1.037, allocations: 0.6214 MB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/1.037, allocations: 0.9375 kB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002199/1.038, allocations: 35.12 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003718/1.038, allocations: 116 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/1.039, allocations: 161.9 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003307/1.039, allocations: 240 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/1.039, allocations: 35.02 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/1.039, allocations: 113.4 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006151/1.045, allocations: 1.046 MB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/1.045, allocations: 18.19 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/1.046, allocations: 42.28 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/1.046, allocations: 47.22 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/1.046, allocations: 90.08 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006643/1.047, allocations: 219.2 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.047, allocations: 0 / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.104e-06/1.047, allocations: 0 / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.968e-05/1.047, allocations: 1.297 kB / 1.092 GB, free: 3.086 MB / 0.8575 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.00109/1.048, allocations: 0.5623 MB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.048, allocations: 9.531 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/1.048, allocations: 21.33 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003887/1.048, allocations: 254.5 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/1.048, allocations: 11.64 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/1.048, allocations: 24.59 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/1.049, allocations: 106.1 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/1.049, allocations: 4 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/1.049, allocations: 2.078 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/1.049, allocations: 2.031 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/1.049, allocations: 60.5 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/1.05, allocations: 497.8 kB / 1.094 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/1.05, allocations: 107.3 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.17e-05/1.05, allocations: 38.88 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/1.05, allocations: 1.562 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/1.051, allocations: 99.2 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/1.051, allocations: 4 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0005031/1.051, allocations: 180.7 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/1.051, allocations: 63.78 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/1.052, allocations: 203.5 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.834e-05/1.052, allocations: 33.83 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/1.052, allocations: 128.5 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/1.052, allocations: 40.09 kB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/1.052, allocations: 63.06 kB / 1.095 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.052, allocations: 333.4 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/1.052, allocations: 63.34 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/1.053, allocations: 124 kB / 1.095 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/1.053, allocations: 214.1 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.053, allocations: 0.6875 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006943/1.054, allocations: 334.2 kB / 1.096 GB, free: 484 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.028e-05/1.054, allocations: 68.52 kB / 1.096 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.054, allocations: 5.75 kB / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/1.054, allocations: 3.125 kB / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.546e-05/1.054, allocations: 29 kB / 1.096 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.054, allocations: 2.5 kB / 1.096 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/1.054, allocations: 30.14 kB / 1.096 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/1.054, allocations: 11.95 kB / 1.096 GB, free: 384 kB / 0.8575 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.0001377/1.054, allocations: 142 kB / 1.096 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/1.054, allocations: 24.88 kB / 1.096 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/1.055, allocations: 152.9 kB / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/1.055, allocations: 6.5 kB / 1.096 GB, free: 148 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/1.055, allocations: 0.8438 kB / 1.096 GB, free: 148 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.055, allocations: 0.6562 kB / 1.096 GB, free: 148 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006953/1.055, allocations: 489.5 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.055, allocations: 1.062 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/1.055, allocations: 6.906 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/1.055, allocations: 4.781 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/1.055, allocations: 3.125 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/1.055, allocations: 0.7812 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.055, allocations: 0.7031 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/1.056, allocations: 240.7 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.255e-05/1.056, allocations: 101.2 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/1.056, allocations: 2.734 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/1.056, allocations: 11.48 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/1.056, allocations: 20.05 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/1.056, allocations: 12.55 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001475/1.056, allocations: 141.4 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.056, allocations: 0.7812 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003489/1.057, allocations: 49.78 kB / 1.097 GB, free: 15.38 MB / 0.8731 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.0004125/1.057, allocations: 174.8 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004713/1.058, allocations: 249.7 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.058, allocations: 4.312 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/1.058, allocations: 52.52 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/1.058, allocations: 70.58 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007347/1.059, allocations: 320.7 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/1.059, allocations: 0.7276 MB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001123/1.059, allocations: 30.28 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.323e-05/1.059, allocations: 23.2 kB / 1.099 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.059, allocations: 0 / 1.099 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of Templates: time 0.01074/1.07, allocations: 3.642 MB / 1.102 GB, free: 13.77 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches