Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.631/1.631, allocations: 297.8 MB / 313.7 MB, free: 56 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.001011/0.001011, allocations: 184.5 kB / 384.6 MB, free: 10.8 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.326/1.326, allocations: 223.2 MB / 0.6626 GB, free: 4.328 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.0007958/0.0007959, allocations: 98.69 kB / 0.7808 GB, free: 43.67 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003821, allocations: 12 kB / 0.9088 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5709/0.5713, allocations: 120.3 MB / 1.026 GB, free: 56.78 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.7348, allocations: 141.4 MB / 1.164 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.735, allocations: 73.22 kB / 1.164 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01191/0.747, allocations: 4.078 MB / 1.168 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.144e-06/0.747, allocations: 0 / 1.168 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.747, allocations: 0 / 1.168 GB, free: 12.76 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006096/0.7477, allocations: 460.4 kB / 1.169 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.7477, allocations: 12.03 kB / 1.169 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.377e-05/0.7478, allocations: 12.84 kB / 1.169 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.748, allocations: 184.2 kB / 1.169 GB, free: 12 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.748, allocations: 12.38 kB / 1.169 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.7481, allocations: 16.38 kB / 1.169 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.7482, allocations: 55.12 kB / 1.169 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.7482, allocations: 192 / 1.169 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.7482, allocations: 7.938 kB / 1.169 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.7483, allocations: 3.938 kB / 1.169 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.143e-05/0.7483, allocations: 23.98 kB / 1.169 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005722/0.7489, allocations: 416.4 kB / 1.17 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.673e-05/0.749, allocations: 30.58 kB / 1.17 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.749, allocations: 23.33 kB / 1.17 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.749, allocations: 0 / 1.17 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.7492, allocations: 107.3 kB / 1.17 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.7493, allocations: 0 / 1.17 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0003047/0.7496, allocations: 137.5 kB / 1.17 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.7496, allocations: 55.41 kB / 1.17 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.7497, allocations: 136.4 kB / 1.17 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.7498, allocations: 29.7 kB / 1.17 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.462e-05/0.7499, allocations: 100.7 kB / 1.17 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.7499, allocations: 19.72 kB / 1.17 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/0.7499, allocations: 4 kB / 1.17 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.7501, allocations: 326.8 kB / 1.17 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.7503, allocations: 83.95 kB / 1.171 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.7506, allocations: 141.9 kB / 1.171 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.7508, allocations: 231 kB / 1.171 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.7509, allocations: 0 / 1.171 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005898/0.7515, allocations: 370.5 kB / 1.171 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.211e-05/0.7515, allocations: 102.5 kB / 1.171 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.7516, allocations: 384 / 1.171 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.7516, allocations: 8.188 kB / 1.171 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.708e-05/0.7516, allocations: 7.922 kB / 1.171 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.7516, allocations: 4 kB / 1.171 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/0.7521, allocations: 111.8 kB / 1.172 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.7522, allocations: 19.98 kB / 1.172 GB, free: 9.246 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001302/0.7523, allocations: 139.1 kB / 1.172 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.7523, allocations: 7.906 kB / 1.172 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.7524, allocations: 16.36 kB / 1.172 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7524, allocations: 3.938 kB / 1.172 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.7524, allocations: 0 / 1.172 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.7524, allocations: 0 / 1.172 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.7526, allocations: 185.6 kB / 1.172 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.7526, allocations: 0 / 1.172 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.7526, allocations: 11.92 kB / 1.172 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.7526, allocations: 0 / 1.172 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.7526, allocations: 4 kB / 1.172 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.7526, allocations: 80 / 1.172 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7526, allocations: 7.984 kB / 1.172 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.7528, allocations: 140.9 kB / 1.172 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.7529, allocations: 81.02 kB / 1.172 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.7529, allocations: 4 kB / 1.172 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.106e-05/0.7529, allocations: 0 / 1.172 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.753, allocations: 11.98 kB / 1.172 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.753, allocations: 8 kB / 1.172 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.7531, allocations: 99.25 kB / 1.172 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7531, allocations: 0 / 1.172 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002705/0.7533, allocations: 48 kB / 1.172 GB, free: 8.402 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001945/0.7535, allocations: 119.8 kB / 1.172 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004557/0.754, allocations: 362.3 kB / 1.173 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.754, allocations: 4.062 kB / 1.173 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.417e-05/0.7541, allocations: 39.92 kB / 1.173 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.7544, allocations: 32.78 kB / 1.173 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.7548, allocations: 213.9 kB / 1.173 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.7551, allocations: 0.6975 MB / 1.174 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.292e-05/0.7551, allocations: 12.42 kB / 1.174 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.7552, allocations: 11.44 kB / 1.174 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of SimCode: time 3.01e-07/0.7552, allocations: 0 / 1.174 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of Templates: time 0.005172/0.7604, allocations: 2.437 MB / 1.176 GB, free: 4.434 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)