Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.628/1.628, allocations: 285.4 MB / 298 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 188.8 kB / 366.4 MB, free: 2.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, allocations: 205.1 MB / 0.6248 GB, free: 7.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000984/0.0009841, allocations: 97.92 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.786e-05/3.79e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7601/0.7602, allocations: 115.3 MB / 0.971 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2001/0.9604, allocations: 138.5 MB / 1.106 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.9607, allocations: 71.95 kB / 1.106 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01248/0.9732, allocations: 3.985 MB / 1.11 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9732, allocations: 0 / 1.11 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.9733, allocations: 8 kB / 1.11 GB, free: 9.266 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008621/0.9741, allocations: 0.5309 MB / 1.111 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.9742, allocations: 12.03 kB / 1.111 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.945e-05/0.9743, allocations: 50.55 kB / 1.111 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.693e-05/0.9744, allocations: 31.8 kB / 1.111 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.9745, allocations: 176.6 kB / 1.111 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.9746, allocations: 24.2 kB / 1.111 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.81e-05/0.9747, allocations: 43.98 kB / 1.111 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.9751, allocations: 249.5 kB / 1.111 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.9751, allocations: 0 / 1.111 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.9752, allocations: 7.984 kB / 1.111 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.9752, allocations: 6.375 kB / 1.111 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.9754, allocations: 132.6 kB / 1.111 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009426/0.9764, allocations: 0.587 MB / 1.112 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/0.977, allocations: 415.7 kB / 1.112 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/0.9773, allocations: 209.2 kB / 1.113 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.9773, allocations: 0 / 1.113 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005837/0.9779, allocations: 375.2 kB / 1.113 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=46): time 3.035e-06/0.9779, allocations: 3.938 kB / 1.113 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46): time 0.0008977/0.9788, allocations: 0.5093 MB / 1.114 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.9789, allocations: 71.34 kB / 1.114 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.979, allocations: 126.7 kB / 1.114 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.9791, allocations: 53.69 kB / 1.114 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.758e-05/0.9791, allocations: 105.1 kB / 1.114 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.068e-05/0.9792, allocations: 102.7 kB / 1.114 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.9793, allocations: 20 kB / 1.114 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.9794, allocations: 334.8 kB / 1.114 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.9797, allocations: 141.3 kB / 1.114 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.9801, allocations: 288 kB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.9804, allocations: 213.8 kB / 1.115 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.9805, allocations: 7.75 kB / 1.115 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008807/0.9813, allocations: 0.5651 MB / 1.115 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.671e-05/0.9814, allocations: 75.45 kB / 1.116 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.9815, allocations: 4 kB / 1.116 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.9815, allocations: 11.95 kB / 1.116 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.9816, allocations: 39.86 kB / 1.116 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.9817, allocations: 11.98 kB / 1.116 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.9822, allocations: 107.8 kB / 1.116 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/0.9822, allocations: 28 kB / 1.116 GB, free: 3.316 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001683/0.9824, allocations: 171.7 kB / 1.116 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.9825, allocations: 31.8 kB / 1.116 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.174e-05/0.9825, allocations: 25.86 kB / 1.116 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/0.9825, allocations: 4 kB / 1.116 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.9826, allocations: 7.891 kB / 1.116 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.9826, allocations: 0 / 1.116 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.9841, allocations: 1.043 MB / 1.117 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.9841, allocations: 4 kB / 1.117 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-05/0.9842, allocations: 15.92 kB / 1.117 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.9842, allocations: 4 kB / 1.117 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/0.9842, allocations: 15.97 kB / 1.117 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.9842, allocations: 9.25 kB / 1.117 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.9843, allocations: 3.938 kB / 1.117 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008407/0.9851, allocations: 0.6601 MB / 1.118 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.9852, allocations: 92.83 kB / 1.118 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.9852, allocations: 27.97 kB / 1.118 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.9855, allocations: 35.97 kB / 1.118 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-05/0.9856, allocations: 43.92 kB / 1.118 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.9856, allocations: 31.97 kB / 1.118 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.889e-05/0.9857, allocations: 111.9 kB / 1.118 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9857, allocations: 0 / 1.118 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004225/0.9861, allocations: 112 kB / 1.118 GB, free: 0.7578 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001293/0.9874, allocations: 1.389 MB / 1.119 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008429/0.9883, allocations: 0.5497 MB / 1.12 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9883, allocations: 0 / 1.12 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.9887, allocations: 295.8 kB / 1.12 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.9889, allocations: 37.98 kB / 1.12 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009394/0.9899, allocations: 450.6 kB / 1.121 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.9903, allocations: 0.7359 MB / 1.121 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.158e-05/0.9904, allocations: 34.97 kB / 1.121 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.9905, allocations: 59.41 kB / 1.122 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of SimCode: time 4.3e-07/0.9905, allocations: 3.938 kB / 1.122 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/1.008, allocations: 5.659 MB / 1.127 GB, free: 7.688 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/1.008, allocations: 181.6 kB / 1.127 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.861, allocations: 3.625 kB / 1.127 GB, free: 7.465 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)