Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.609/1.609, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009018/0.0009019, allocations: 188.5 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.2 MB / 0.6626 GB, free: 4.258 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000764/0.0007639, allocations: 103.6 kB / 0.7808 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003758, allocations: 15.98 kB / 0.9088 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5966/0.597, allocations: 120.3 MB / 1.026 GB, free: 55.91 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.7626, allocations: 141.3 MB / 1.164 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.7629, allocations: 71.14 kB / 1.164 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.007641/0.7705, allocations: 2.939 MB / 1.167 GB, free: 60 kB / 0.7292 GB Notification: Performance of FrontEnd: time 1.704e-06/0.7706, allocations: 1.625 kB / 1.167 GB, free: 60 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.7706, allocations: 4 kB / 1.167 GB, free: 56 kB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004461/0.771, allocations: 413.8 kB / 1.168 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.7711, allocations: 8.547 kB / 1.168 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.753e-05/0.7711, allocations: 17.53 kB / 1.168 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.7713, allocations: 170.8 kB / 1.168 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.7713, allocations: 8.906 kB / 1.168 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.7713, allocations: 9.078 kB / 1.168 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.7714, allocations: 45.95 kB / 1.168 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.7715, allocations: 1.656 kB / 1.168 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.7715, allocations: 8.688 kB / 1.168 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.7715, allocations: 0 / 1.168 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.06e-05/0.7715, allocations: 22 kB / 1.168 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.772, allocations: 346.7 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.411e-05/0.7721, allocations: 41.33 kB / 1.168 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.7722, allocations: 11.05 kB / 1.168 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-06/0.7722, allocations: 1.719 kB / 1.168 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.7724, allocations: 86.81 kB / 1.168 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.7724, allocations: 1.547 kB / 1.168 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002384/0.7726, allocations: 103.8 kB / 1.168 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.7726, allocations: 53.38 kB / 1.169 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.207e-05/0.7727, allocations: 120.4 kB / 1.169 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.7728, allocations: 29.7 kB / 1.169 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.7729, allocations: 95.27 kB / 1.169 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.7729, allocations: 16.52 kB / 1.169 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/0.7729, allocations: 4.75 kB / 1.169 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.773, allocations: 320.8 kB / 1.169 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.7731, allocations: 61.23 kB / 1.169 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.7733, allocations: 98.06 kB / 1.169 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.7735, allocations: 159.4 kB / 1.169 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7735, allocations: 0 / 1.169 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004136/0.7739, allocations: 260.4 kB / 1.17 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/0.774, allocations: 67.34 kB / 1.17 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.774, allocations: 4.938 kB / 1.17 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.774, allocations: 0.5 kB / 1.17 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.031e-05/0.774, allocations: 5.375 kB / 1.17 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.7741, allocations: 4.594 kB / 1.17 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.7744, allocations: 72.56 kB / 1.17 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.7744, allocations: 16.3 kB / 1.17 GB, free: 13.34 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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 9.711e-05/0.7745, allocations: 131.9 kB / 1.17 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.7745, allocations: 8.703 kB / 1.17 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.7746, allocations: 5.125 kB / 1.17 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.7746, allocations: 0 / 1.17 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7746, allocations: 0.75 kB / 1.17 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.7746, allocations: 4.844 kB / 1.17 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.7747, allocations: 179.2 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7747, allocations: 0.7031 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.115e-05/0.7748, allocations: 5.312 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.7748, allocations: 4 kB / 1.17 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.7748, allocations: 0.5625 kB / 1.17 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.7748, allocations: 1.828 kB / 1.17 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.7748, allocations: 5.688 kB / 1.17 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.7749, allocations: 109.5 kB / 1.17 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.775, allocations: 86.84 kB / 1.17 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.775, allocations: 0.7969 kB / 1.17 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.831e-05/0.775, allocations: 0.8438 kB / 1.17 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.7751, allocations: 14.62 kB / 1.17 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.7751, allocations: 4.703 kB / 1.17 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.7752, allocations: 86 kB / 1.17 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7752, allocations: 0 / 1.17 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002335/0.7754, allocations: 43.83 kB / 1.17 GB, free: 12.61 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001618/0.7756, allocations: 110.5 kB / 1.171 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00034/0.7759, allocations: 242 kB / 1.171 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7759, allocations: 4.062 kB / 1.171 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.047e-05/0.776, allocations: 31.28 kB / 1.171 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.7762, allocations: 17.2 kB / 1.171 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.7766, allocations: 169.1 kB / 1.171 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.7768, allocations: 0.6883 MB / 1.172 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.075e-05/0.7768, allocations: 4 kB / 1.172 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.7769, allocations: 16.8 kB / 1.172 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/0.7769, allocations: 0 / 1.172 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of Templates: time 0.004634/0.7815, allocations: 1.722 MB / 1.173 GB, free: 10.36 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)