Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009373/0.0009373, allocations: 83.59 kB / 20.45 MB, free: 4.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009295/0.0009295, allocations: 169 kB / 23.82 MB, free: 0.7383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9538/0.9538, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.878/1.878, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.945e-06/2.945e-06, allocations: 4 kB / 0.8115 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.54e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002868/0.002893, allocations: 1.687 MB / 0.8131 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.004076, allocations: 0.5726 MB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.698e-05/0.004153, allocations: 7.938 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.004359, allocations: 27.67 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.004717, allocations: 120.9 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.005046, allocations: 147.6 kB / 0.814 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.005313, allocations: 215.5 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.005421, allocations: 21.73 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.005584, allocations: 129.5 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008565/0.01415, allocations: 2.505 MB / 0.8168 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.01418, allocations: 16 kB / 0.8168 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.727e-05/0.01425, allocations: 33.09 kB / 0.8168 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.0143, allocations: 39.83 kB / 0.8169 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.01437, allocations: 59.81 kB / 0.8169 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.0146, allocations: 176.8 kB / 0.8171 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.01461, allocations: 4 kB / 0.8171 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.42e-07/0.01461, allocations: 0 / 0.8171 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.01461, allocations: 0 / 0.8171 GB, free: 13.06 MB / 0.7761 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.0005796/0.01519, allocations: 0.5432 MB / 0.8176 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.01523, allocations: 16.75 kB / 0.8176 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.01529, allocations: 20.84 kB / 0.8177 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.01547, allocations: 189.6 kB / 0.8178 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.01549, allocations: 13.22 kB / 0.8179 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.01551, allocations: 12.36 kB / 0.8179 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.01561, allocations: 71.55 kB / 0.8179 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.01562, allocations: 0 / 0.8179 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.01563, allocations: 8 kB / 0.818 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.01564, allocations: 0 / 0.818 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.975e-05/0.0157, allocations: 31.91 kB / 0.818 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.01616, allocations: 414.5 kB / 0.8184 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.377e-05/0.01626, allocations: 58.98 kB / 0.8184 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.085e-05/0.01629, allocations: 23.67 kB / 0.8185 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.0163, allocations: 4 kB / 0.8185 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.964e-05/0.01639, allocations: 90.72 kB / 0.8185 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.0164, allocations: 0 / 0.8185 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.000193/0.01659, allocations: 117.7 kB / 0.8187 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.01662, allocations: 55.41 kB / 0.8187 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.01676, allocations: 244.2 kB / 0.8189 GB, free: 11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.01678, allocations: 37.64 kB / 0.819 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/0.01685, allocations: 163.4 kB / 0.8191 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.01686, allocations: 33.66 kB / 0.8192 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.01692, allocations: 59.33 kB / 0.8192 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.01703, allocations: 0.5001 MB / 0.8197 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.873e-05/0.01706, allocations: 11.98 kB / 0.8197 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.01723, allocations: 231.8 kB / 0.8199 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.578e-05/0.01731, allocations: 95.36 kB / 0.82 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01731, allocations: 0 / 0.82 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001285/0.01744, allocations: 124.9 kB / 0.8202 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.01745, allocations: 11.12 kB / 0.8202 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.01746, allocations: 0 / 0.8202 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.01747, allocations: 4 kB / 0.8202 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.01753, allocations: 15.94 kB / 0.8202 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.01753, allocations: 7.984 kB / 0.8202 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.411e-05/0.01762, allocations: 25.73 kB / 0.8202 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.01763, allocations: 4 kB / 0.8202 GB, free: 9.586 MB / 0.7761 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 9.048e-05/0.01772, allocations: 180.3 kB / 0.8204 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.01773, allocations: 19.91 kB / 0.8204 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.01776, allocations: 14.47 kB / 0.8204 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01776, allocations: 4 kB / 0.8204 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.01777, allocations: 1.062 kB / 0.8204 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.01777, allocations: 7.922 kB / 0.8204 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.01806, allocations: 402.4 kB / 0.8208 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01806, allocations: 0 / 0.8208 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.444e-05/0.01807, allocations: 8 kB / 0.8208 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-06/0.01807, allocations: 1.125 kB / 0.8208 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.01808, allocations: 7.922 kB / 0.8208 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.01808, allocations: 0 / 0.8208 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.01808, allocations: 0.7812 kB / 0.8208 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.0182, allocations: 251.7 kB / 0.8211 GB, free: 8.641 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.01822, allocations: 24.44 kB / 0.8211 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.01823, allocations: 7.938 kB / 0.8211 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.587e-05/0.01828, allocations: 9.328 kB / 0.8211 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.01832, allocations: 11.98 kB / 0.8211 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.01834, allocations: 7.984 kB / 0.8211 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.742e-05/0.01841, allocations: 167 kB / 0.8213 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01841, allocations: 0 / 0.8213 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001946/0.01861, allocations: 43.98 kB / 0.8213 GB, free: 8.379 MB / 0.7761 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.0002928/0.0189, allocations: 174.4 kB / 0.8215 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.01903, allocations: 73.28 kB / 0.8216 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01903, allocations: 4 kB / 0.8216 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.454e-05/0.01908, allocations: 35.67 kB / 0.8216 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.01931, allocations: 55.02 kB / 0.8217 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.01971, allocations: 269.1 kB / 0.8219 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.287e-05/0.01976, allocations: 75.92 kB / 0.822 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.171e-05/0.0198, allocations: 17.48 kB / 0.822 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.01984, allocations: 24.48 kB / 0.822 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.01984, allocations: 0 / 0.822 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of Templates: time 0.004753/0.02459, allocations: 3.545 MB / 0.8255 GB, free: 4.133 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.25214290805161]