Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.911/2.911, allocations: 287.5 MB / 302.4 MB, free: 8.328 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.001424/0.001424, allocations: 178 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.219/2.219, allocations: 205.4 MB / 0.6297 GB, free: 10.56 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.001037/0.001037, allocations: 88.97 kB / 0.743 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000555/0.0005553, allocations: 25.92 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2422, allocations: 115.3 MB / 0.9784 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001269/0.2435, allocations: 394.4 kB / 0.9787 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002543/0.2461, allocations: 1.169 MB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.699e-05/0.2463, allocations: 0 / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.2463, allocations: 4 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.2464, allocations: 11.91 kB / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.2478, allocations: 193.4 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.2481, allocations: 135.6 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.2483, allocations: 8 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.2485, allocations: 55.89 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.2486, allocations: 51.86 kB / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.875e-05/0.2487, allocations: 8 kB / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.2489, allocations: 19.98 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.2489, allocations: 4 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.596e-05/0.249, allocations: 41.64 kB / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.2493, allocations: 112 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2493, allocations: 0 / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.835e-06/0.2493, allocations: 0 / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.2494, allocations: 0 / 0.9805 GB, free: 26.11 MB / 0.6198 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.0005981/0.25, allocations: 406.7 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.25, allocations: 12.02 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.2502, allocations: 15.91 kB / 0.9809 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.2503, allocations: 171 kB / 0.9811 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.2504, allocations: 4 kB / 0.9811 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.069e-05/0.2504, allocations: 12 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.2506, allocations: 45.69 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.2507, allocations: 3.938 kB / 0.9811 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.2507, allocations: 7.984 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2507, allocations: 0 / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.325e-05/0.2508, allocations: 12 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008077/0.2516, allocations: 360.6 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.2518, allocations: 42.56 kB / 0.9815 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.2519, allocations: 16.8 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.2519, allocations: 0 / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.2522, allocations: 79.47 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 4.709e-06/0.2522, allocations: 0 / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004345/0.2527, allocations: 101.5 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.2527, allocations: 63.33 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.2529, allocations: 125.9 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.752e-05/0.253, allocations: 29.7 kB / 0.9819 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/0.2531, allocations: 92.31 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.2531, allocations: 15.8 kB / 0.982 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.2532, allocations: 4 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.433e-05/0.2533, allocations: 318.8 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.2536, allocations: 59.95 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.2539, allocations: 92.27 kB / 0.9825 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.2543, allocations: 111.4 kB / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.2543, allocations: 3.938 kB / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009557/0.2553, allocations: 256.8 kB / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.524e-05/0.2554, allocations: 71.52 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.2554, allocations: 4 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.2555, allocations: 0 / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.247e-05/0.2555, allocations: 11.98 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.2555, allocations: 0 / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009022/0.2565, allocations: 75.89 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.438e-05/0.2565, allocations: 11.98 kB / 0.983 GB, free: 23.24 MB / 0.6198 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,or1.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 0.000166/0.2567, allocations: 121.8 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.2568, allocations: 7.906 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.061e-05/0.2568, allocations: 12.38 kB / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.2569, allocations: 7.938 kB / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.2569, allocations: 0 / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2569, allocations: 3.984 kB / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.2571, allocations: 177.6 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.2571, allocations: 0 / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.2572, allocations: 480 / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.567e-06/0.2572, allocations: 3.984 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.2572, allocations: 7.984 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.2573, allocations: 0 / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2573, allocations: 0 / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.2576, allocations: 116.9 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.2576, allocations: 89 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.2577, allocations: 3.938 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.909e-05/0.2578, allocations: 0 / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.2579, allocations: 7.984 kB / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.2579, allocations: 7.938 kB / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.642e-05/0.258, allocations: 91.27 kB / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.81e-07/0.258, allocations: 4 kB / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006072/0.2586, allocations: 28 kB / 0.9837 GB, free: 22.47 MB / 0.6198 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,or1.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.0002373/0.2589, allocations: 99.25 kB / 0.9838 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007445/0.2596, allocations: 242.8 kB / 0.984 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.2597, allocations: 0 / 0.984 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.2598, allocations: 27.98 kB / 0.984 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005422/0.2604, allocations: 28.12 kB / 0.9841 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/0.261, allocations: 164.1 kB / 0.9842 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.2612, allocations: 0.6848 MB / 0.9849 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.957e-05/0.2613, allocations: 4 kB / 0.9849 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.2613, allocations: 15.44 kB / 0.9849 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of SimCode: time 1.784e-06/0.2613, allocations: 0 / 0.9849 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.008184/0.2695, allocations: 1.679 MB / 0.9865 GB, free: 19.48 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)