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.0123/0.0123, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.002395/0.002395, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.356/2.356, allocations: 390.2 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103/1.105, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003033/1.108, allocations: 1.766 MB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001179/1.109, allocations: 0.6294 MB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.802e-05/1.109, allocations: 0.7188 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002052/1.109, allocations: 22.59 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003762/1.11, allocations: 127.9 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/1.11, allocations: 164.4 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003211/1.11, allocations: 236.3 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/1.111, allocations: 35.28 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/1.111, allocations: 110.2 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005918/1.117, allocations: 1.052 MB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.673e-05/1.117, allocations: 17.56 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/1.117, allocations: 45.25 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.595e-05/1.117, allocations: 40.08 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/1.117, allocations: 93.7 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004812/1.118, allocations: 224.3 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.118, allocations: 4.656 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/1.118, allocations: 0 / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.891e-05/1.118, allocations: 1.641 kB / 1.092 GB, free: 3.047 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.0009622/1.119, allocations: 0.5599 MB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/1.119, allocations: 9.125 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/1.119, allocations: 21.06 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/1.119, allocations: 255.1 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/1.119, allocations: 15.61 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/1.119, allocations: 20.89 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/1.12, allocations: 109.7 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/1.12, allocations: 0 / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/1.12, allocations: 1.547 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/1.12, allocations: 2.438 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/1.12, allocations: 60.16 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/1.121, allocations: 494 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/1.121, allocations: 110.9 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/1.121, allocations: 43.06 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/1.121, allocations: 6.359 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/1.121, allocations: 107.2 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/1.121, allocations: 0 / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0004088/1.122, allocations: 173.5 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/1.122, allocations: 59.55 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/1.122, allocations: 204.2 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/1.122, allocations: 33.81 kB / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.202e-05/1.122, allocations: 132.2 kB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/1.122, allocations: 45.05 kB / 1.095 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/1.122, allocations: 62.12 kB / 1.095 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.441e-05/1.122, allocations: 329.7 kB / 1.095 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/1.123, allocations: 63.45 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/1.123, allocations: 135.3 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/1.123, allocations: 209.5 kB / 1.095 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.123, allocations: 0.875 kB / 1.095 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007133/1.124, allocations: 329.2 kB / 1.096 GB, free: 432 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/1.124, allocations: 66.2 kB / 1.096 GB, free: 368 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.124, allocations: 5.656 kB / 1.096 GB, free: 364 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/1.124, allocations: 2.953 kB / 1.096 GB, free: 364 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.688e-05/1.124, allocations: 31.83 kB / 1.096 GB, free: 348 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/1.124, allocations: 3.094 kB / 1.096 GB, free: 348 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/1.124, allocations: 26.2 kB / 1.096 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/1.125, allocations: 12.34 kB / 1.096 GB, free: 336 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.000135/1.125, allocations: 145.7 kB / 1.096 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/1.125, allocations: 21.69 kB / 1.096 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/1.125, allocations: 149.2 kB / 1.096 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.125, allocations: 2.156 kB / 1.096 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.125, allocations: 0 / 1.096 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/1.125, allocations: 2.516 kB / 1.096 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007475/1.126, allocations: 494.4 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.126, allocations: 0 / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.851e-05/1.126, allocations: 7.594 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.126, allocations: 4.5 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/1.126, allocations: 2.297 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/1.126, allocations: 0.6562 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.126, allocations: 1.703 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/1.126, allocations: 241.3 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/1.126, allocations: 109.5 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/1.126, allocations: 6.922 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/1.127, allocations: 11.66 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/1.127, allocations: 16.69 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/1.127, allocations: 11.78 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002111/1.127, allocations: 141.5 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.11e-07/1.127, allocations: 1.094 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004563/1.127, allocations: 49.78 kB / 1.097 GB, free: 15.32 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.0005021/1.128, allocations: 170.4 kB / 1.097 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005312/1.128, allocations: 249.6 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.128, allocations: 0 / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/1.129, allocations: 53.86 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/1.129, allocations: 66.67 kB / 1.098 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007604/1.13, allocations: 328.3 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/1.13, allocations: 0.7321 MB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001291/1.13, allocations: 30.81 kB / 1.099 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/1.13, allocations: 22.08 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of SimCode: time 1.513e-06/1.13, allocations: 0 / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of Templates: time 0.01247/1.143, allocations: 3.57 MB / 1.102 GB, free: 13.74 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