Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001641/0.001641, allocations: 187 kB / 17.34 MB, free: 5.719 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.1 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.288/2.288, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 63.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.033, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003462/1.036, allocations: 1.63 MB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001182/1.038, allocations: 0.5702 MB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.346e-05/1.038, allocations: 0 / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00022/1.038, allocations: 30.08 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004004/1.038, allocations: 112 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/1.039, allocations: 149.4 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000349/1.039, allocations: 214 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/1.039, allocations: 24.5 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/1.04, allocations: 110.8 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009284/1.049, allocations: 1.569 MB / 1.093 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.61e-05/1.049, allocations: 15.28 kB / 1.093 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/1.049, allocations: 36.16 kB / 1.093 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.788e-05/1.049, allocations: 42.16 kB / 1.093 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001541/1.049, allocations: 84.58 kB / 1.093 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004301/1.05, allocations: 194.7 kB / 1.093 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.05, allocations: 4 kB / 1.093 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.033e-06/1.05, allocations: 0.8125 kB / 1.093 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.545e-06/1.05, allocations: 0 / 1.093 GB, free: 3.113 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007419/1.051, allocations: 0.5153 MB / 1.094 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.051, allocations: 9.781 kB / 1.094 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.3e-05/1.051, allocations: 18.03 kB / 1.094 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/1.051, allocations: 235.1 kB / 1.094 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/1.051, allocations: 18.73 kB / 1.094 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/1.051, allocations: 12.81 kB / 1.094 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/1.051, allocations: 79.23 kB / 1.094 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.051, allocations: 0.75 kB / 1.094 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/1.051, allocations: 5.484 kB / 1.094 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/1.051, allocations: 1.906 kB / 1.094 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/1.052, allocations: 49.61 kB / 1.094 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008341/1.052, allocations: 434.2 kB / 1.095 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/1.053, allocations: 71.47 kB / 1.095 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.389e-05/1.053, allocations: 29.14 kB / 1.095 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/1.053, allocations: 1.75 kB / 1.095 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/1.053, allocations: 91.34 kB / 1.095 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/1.053, allocations: 0 / 1.095 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0003644/1.053, allocations: 135.7 kB / 1.095 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/1.053, allocations: 54.45 kB / 1.095 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/1.053, allocations: 192.1 kB / 1.095 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/1.054, allocations: 29.05 kB / 1.095 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/1.054, allocations: 120.8 kB / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/1.054, allocations: 26.33 kB / 1.095 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/1.054, allocations: 56.27 kB / 1.095 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.043e-05/1.054, allocations: 327.8 kB / 1.096 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.458e-05/1.054, allocations: 26.11 kB / 1.096 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/1.054, allocations: 110.3 kB / 1.096 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/1.054, allocations: 87.03 kB / 1.096 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.054, allocations: 0.5 kB / 1.096 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002834/1.055, allocations: 142.1 kB / 1.096 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/1.055, allocations: 6.844 kB / 1.096 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/1.055, allocations: 13.14 kB / 1.096 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/1.055, allocations: 6.703 kB / 1.096 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.805e-05/1.055, allocations: 15.86 kB / 1.096 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/1.055, allocations: 2.625 kB / 1.096 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/1.055, allocations: 19.73 kB / 1.096 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/1.055, allocations: 5.453 kB / 1.096 GB, free: 0.8086 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0001203/1.055, allocations: 134.8 kB / 1.096 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/1.055, allocations: 15.27 kB / 1.096 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.719e-05/1.055, allocations: 31.33 kB / 1.096 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.055, allocations: 1.531 kB / 1.096 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/1.055, allocations: 0 / 1.096 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/1.055, allocations: 5.844 kB / 1.096 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006153/1.056, allocations: 428.4 kB / 1.097 GB, free: 300 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.056, allocations: 0 / 1.097 GB, free: 300 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.888e-05/1.056, allocations: 8.625 kB / 1.097 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/1.056, allocations: 1.188 kB / 1.097 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/1.056, allocations: 1.109 kB / 1.097 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/1.056, allocations: 5.922 kB / 1.097 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.056, allocations: 0 / 1.097 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/1.056, allocations: 211.6 kB / 1.097 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/1.056, allocations: 89.56 kB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/1.056, allocations: 3.016 kB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/1.056, allocations: 6.75 kB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.252e-05/1.057, allocations: 19.14 kB / 1.097 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/1.057, allocations: 9.125 kB / 1.097 GB, free: 4 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001971/1.057, allocations: 139 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.057, allocations: 0 / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003489/1.057, allocations: 40.55 kB / 1.097 GB, free: 15.9 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: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000445/1.058, allocations: 165.7 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002773/1.058, allocations: 81.89 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.058, allocations: 0 / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.997e-05/1.058, allocations: 39.81 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/1.058, allocations: 53.83 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007875/1.059, allocations: 303.1 kB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/1.06, allocations: 0.7119 MB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/1.06, allocations: 25.8 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/1.06, allocations: 0 / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.008031/1.068, allocations: 2.921 MB / 1.101 GB, free: 14.48 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches