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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00168/0.00168, allocations: 104.1 kB / 15.88 MB, free: 4 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.002164/0.002164, allocations: 196.3 kB / 16.79 MB, free: 6.832 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.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.39/2.39, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 68.11 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7479/0.7494, allocations: 140.3 MB / 0.9496 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003085/0.7526, allocations: 1.921 MB / 0.9514 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.7538, allocations: 0.6737 MB / 0.9521 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.467e-05/0.7539, allocations: 5.25 kB / 0.9521 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.7541, allocations: 28 kB / 0.9521 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.7544, allocations: 87.7 kB / 0.9522 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.7547, allocations: 155.6 kB / 0.9524 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.755, allocations: 229.2 kB / 0.9526 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.7551, allocations: 41.73 kB / 0.9526 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.7552, allocations: 102.1 kB / 0.9527 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01362/0.7689, allocations: 0.9582 MB / 0.9537 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000237/0.7691, allocations: 10.69 kB / 0.9537 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003448/0.7695, allocations: 27.92 kB / 0.9537 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.7697, allocations: 37.97 kB / 0.9537 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003193/0.77, allocations: 91.09 kB / 0.9538 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.7704, allocations: 153 kB / 0.954 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.7704, allocations: 0 / 0.954 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7705, allocations: 1.406 kB / 0.954 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.7705, allocations: 0 / 0.954 GB, free: 6.051 MB / 0.7169 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.001339/0.7718, allocations: 0.5561 MB / 0.9545 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.435e-05/0.7719, allocations: 9.5 kB / 0.9545 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.7721, allocations: 29.53 kB / 0.9545 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.7726, allocations: 248.9 kB / 0.9548 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.7726, allocations: 11.75 kB / 0.9548 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.859e-05/0.7727, allocations: 19.56 kB / 0.9548 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.7731, allocations: 109.7 kB / 0.9549 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.7731, allocations: 0 / 0.9549 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.7731, allocations: 1.094 kB / 0.9549 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.7731, allocations: 3.094 kB / 0.9549 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.7733, allocations: 71.3 kB / 0.955 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.7747, allocations: 481.6 kB / 0.9554 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.7752, allocations: 107.6 kB / 0.9556 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.7753, allocations: 39.58 kB / 0.9556 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/0.7753, allocations: 1.25 kB / 0.9556 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002663/0.7756, allocations: 111 kB / 0.9557 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 3.035e-06/0.7756, allocations: 0 / 0.9557 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0005822/0.7762, allocations: 186.1 kB / 0.9559 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/0.7763, allocations: 62.23 kB / 0.9559 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.7766, allocations: 204.2 kB / 0.9561 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.217e-05/0.7767, allocations: 33.86 kB / 0.9562 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.7768, allocations: 126.7 kB / 0.9563 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/0.7769, allocations: 32.73 kB / 0.9563 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.7771, allocations: 67.7 kB / 0.9564 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.7773, allocations: 327.5 kB / 0.9567 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.7775, allocations: 71.8 kB / 0.9568 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.7778, allocations: 135.6 kB / 0.9569 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.7782, allocations: 213.4 kB / 0.9571 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.7782, allocations: 0 / 0.9571 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007908/0.779, allocations: 328.2 kB / 0.9574 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.847e-05/0.7791, allocations: 70.14 kB / 0.9575 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.7791, allocations: 5.781 kB / 0.9575 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.7791, allocations: 5.938 kB / 0.9575 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.7792, allocations: 18.3 kB / 0.9575 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.7793, allocations: 5.875 kB / 0.9575 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.7795, allocations: 26.33 kB / 0.9575 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.7796, allocations: 14.36 kB / 0.9575 GB, free: 2.984 MB / 0.7169 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.000182/0.7797, allocations: 134.3 kB / 0.9577 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.7798, allocations: 21.42 kB / 0.9577 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003439/0.7802, allocations: 155.8 kB / 0.9578 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.7802, allocations: 1.375 kB / 0.9578 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.7802, allocations: 1.375 kB / 0.9578 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.7802, allocations: 0 / 0.9578 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007587/0.781, allocations: 495.7 kB / 0.9583 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.781, allocations: 0 / 0.9583 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.198e-05/0.781, allocations: 5.469 kB / 0.9583 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.7811, allocations: 1.344 kB / 0.9583 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.7811, allocations: 13.41 kB / 0.9583 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.7811, allocations: 3.984 kB / 0.9583 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.7811, allocations: 5.219 kB / 0.9583 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.7814, allocations: 242 kB / 0.9586 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.7815, allocations: 100.7 kB / 0.9587 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.7815, allocations: 1.062 kB / 0.9587 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.7816, allocations: 12.42 kB / 0.9587 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/0.7817, allocations: 16.05 kB / 0.9587 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.7818, allocations: 14.98 kB / 0.9587 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001296/0.7819, allocations: 140.3 kB / 0.9588 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.173e-06/0.7819, allocations: 0 / 0.9588 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003349/0.7823, allocations: 56.66 kB / 0.9589 GB, free: 1.859 MB / 0.7169 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.0004035/0.7827, allocations: 166.4 kB / 0.9591 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004436/0.7831, allocations: 250.1 kB / 0.9593 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7831, allocations: 320 / 0.9593 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.7833, allocations: 56.77 kB / 0.9594 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.7837, allocations: 59.61 kB / 0.9594 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007144/0.7844, allocations: 400.9 kB / 0.9598 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.7847, allocations: 0.7319 MB / 0.9605 GB, free: 468 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.081e-05/0.7847, allocations: 20.53 kB / 0.9605 GB, free: 460 kB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/0.7847, allocations: 0 / 0.9605 GB, free: 460 kB / 0.7169 GB Notification: Performance of Templates: time 0.007051/0.7918, allocations: 3.259 MB / 0.9637 GB, free: 14.76 MB / 0.7325 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches