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.Or3.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.634/1.634, allocations: 288.4 MB / 304.3 MB, free: 8.156 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.0009644/0.0009643, allocations: 175 kB / 372.9 MB, free: 10.15 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.414/1.414, allocations: 205.4 MB / 0.6317 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007604/0.0007606, allocations: 88.19 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003763, allocations: 14.25 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2031, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6786/0.8818, allocations: 138.1 MB / 1.116 GB, free: 16.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.8821, allocations: 67.45 kB / 1.116 GB, free: 16.56 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01094/0.893, allocations: 4.082 MB / 1.12 GB, free: 32.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.265e-06/0.8931, allocations: 6.812 kB / 1.12 GB, free: 32.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.362e-05/0.8931, allocations: 3.812 kB / 1.12 GB, free: 32.05 MB / 0.698 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.0004592/0.8936, allocations: 462.1 kB / 1.12 GB, free: 31.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.8936, allocations: 11.53 kB / 1.12 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.78e-05/0.8937, allocations: 16.47 kB / 1.12 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.8938, allocations: 171.8 kB / 1.12 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.8939, allocations: 10.95 kB / 1.12 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.8939, allocations: 19.56 kB / 1.12 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.894, allocations: 53.86 kB / 1.12 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.8941, allocations: 4.188 kB / 1.12 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.8941, allocations: 7.812 kB / 1.12 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.8941, allocations: 0 / 1.12 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.415e-05/0.8941, allocations: 18.58 kB / 1.12 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/0.8946, allocations: 418 kB / 1.121 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.097e-05/0.8947, allocations: 29.27 kB / 1.121 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.8947, allocations: 27.14 kB / 1.121 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.8948, allocations: 3.875 kB / 1.121 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.895, allocations: 95.36 kB / 1.121 GB, free: 30.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.895, allocations: 0 / 1.121 GB, free: 30.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0002678/0.8952, allocations: 144.2 kB / 1.121 GB, free: 30.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.8953, allocations: 53.38 kB / 1.121 GB, free: 30.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.8954, allocations: 140.2 kB / 1.121 GB, free: 30.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.8955, allocations: 37.42 kB / 1.121 GB, free: 30.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/0.8955, allocations: 99.5 kB / 1.121 GB, free: 30.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.8956, allocations: 18.02 kB / 1.121 GB, free: 30.63 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.8956, allocations: 9.188 kB / 1.121 GB, free: 30.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.8957, allocations: 324.2 kB / 1.122 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.8959, allocations: 89.66 kB / 1.122 GB, free: 30.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.8961, allocations: 139.9 kB / 1.122 GB, free: 30.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.8964, allocations: 232.2 kB / 1.122 GB, free: 30.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.8964, allocations: 0 / 1.122 GB, free: 30.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004987/0.8969, allocations: 369.3 kB / 1.123 GB, free: 29.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.546e-05/0.897, allocations: 102.8 kB / 1.123 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.897, allocations: 0 / 1.123 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.897, allocations: 3.844 kB / 1.123 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.323e-05/0.897, allocations: 8.281 kB / 1.123 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.897, allocations: 3 kB / 1.123 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004419/0.8975, allocations: 113.9 kB / 1.123 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.8975, allocations: 18.7 kB / 1.123 GB, free: 29.85 MB / 0.698 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.0001222/0.8977, allocations: 147.9 kB / 1.123 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.8977, allocations: 7.688 kB / 1.123 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.8977, allocations: 19.33 kB / 1.123 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.8977, allocations: 0 / 1.123 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.8978, allocations: 4 kB / 1.123 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.8978, allocations: 3.844 kB / 1.123 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.8979, allocations: 191.5 kB / 1.123 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8979, allocations: 0 / 1.123 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-06/0.8979, allocations: 0 / 1.123 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.898, allocations: 0 / 1.123 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.898, allocations: 7.594 kB / 1.123 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.898, allocations: 0 / 1.123 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.898, allocations: 0 / 1.123 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.8981, allocations: 142.5 kB / 1.123 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.8982, allocations: 84.92 kB / 1.123 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.8982, allocations: 0 / 1.123 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.284e-05/0.8982, allocations: 6.922 kB / 1.123 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.8983, allocations: 6.797 kB / 1.123 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.8983, allocations: 7.531 kB / 1.123 GB, free: 29.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.126e-05/0.8984, allocations: 101.1 kB / 1.124 GB, free: 29.26 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8984, allocations: 4 kB / 1.124 GB, free: 29.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000259/0.8986, allocations: 46.34 kB / 1.124 GB, free: 29.25 MB / 0.698 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.0001956/0.8988, allocations: 117.4 kB / 1.124 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004126/0.8993, allocations: 360.3 kB / 1.124 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8993, allocations: 0 / 1.124 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.375e-05/0.8993, allocations: 37.64 kB / 1.124 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.8996, allocations: 32.53 kB / 1.124 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.8999, allocations: 201.6 kB / 1.124 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.9002, allocations: 0.7006 MB / 1.125 GB, free: 28.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.092e-05/0.9002, allocations: 10.66 kB / 1.125 GB, free: 28.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.9002, allocations: 11.28 kB / 1.125 GB, free: 28.09 MB / 0.698 GB Notification: Performance of SimCode: time 8.81e-07/0.9002, allocations: 0 / 1.125 GB, free: 28.09 MB / 0.698 GB Notification: Performance of Templates: time 0.004541/0.9048, allocations: 2.437 MB / 1.127 GB, free: 27.88 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)