Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008878/0.0008878, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.4 MB / 222.1 MB, free: 5.898 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.639/1.639, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.000509, allocations: 20.98 kB / 0.6737 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2257, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0008002/0.2265, allocations: 394.4 kB / 0.7877 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.2279, allocations: 1.165 MB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.228, allocations: 4 kB / 0.7888 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.228, allocations: 3.938 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.3e-05/0.2281, allocations: 7.922 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005684/0.2286, allocations: 194.2 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.2288, allocations: 139.7 kB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.377e-05/0.2289, allocations: 12 kB / 0.7892 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.371e-05/0.229, allocations: 55.89 kB / 0.7892 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.542e-05/0.2291, allocations: 47.86 kB / 0.7893 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.2291, allocations: 8 kB / 0.7893 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.693e-05/0.2292, allocations: 19.92 kB / 0.7893 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.2292, allocations: 8 kB / 0.7893 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/0.2293, allocations: 37.7 kB / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.2294, allocations: 104 kB / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2294, allocations: 0 / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2294, allocations: 0 / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2294, allocations: 4 kB / 0.7894 GB, free: 9.738 MB / 0.6075 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.0004317/0.2299, allocations: 410.6 kB / 0.7898 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.2299, allocations: 12.03 kB / 0.7898 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.23, allocations: 7.906 kB / 0.7898 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.2301, allocations: 171 kB / 0.79 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.2301, allocations: 8 kB / 0.79 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.2301, allocations: 8 kB / 0.79 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.2302, allocations: 45.69 kB / 0.7901 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2303, allocations: 0 / 0.7901 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2303, allocations: 11.92 kB / 0.7901 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2303, allocations: 0 / 0.7901 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.728e-05/0.2303, allocations: 19.94 kB / 0.7901 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.2308, allocations: 360.6 kB / 0.7904 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.343e-05/0.2309, allocations: 34.56 kB / 0.7905 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.646e-05/0.2309, allocations: 12.86 kB / 0.7905 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.2309, allocations: 4 kB / 0.7905 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.2311, allocations: 79.41 kB / 0.7906 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.2311, allocations: 0 / 0.7906 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002306/0.2313, allocations: 101.6 kB / 0.7907 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.2314, allocations: 63.39 kB / 0.7907 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.6e-05/0.2315, allocations: 118 kB / 0.7908 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.2315, allocations: 29.7 kB / 0.7909 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.2316, allocations: 100.2 kB / 0.791 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.2316, allocations: 15.89 kB / 0.791 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.2316, allocations: 4 kB / 0.791 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2318, allocations: 318.8 kB / 0.7913 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.2319, allocations: 59.91 kB / 0.7913 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.232, allocations: 92.25 kB / 0.7914 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.2322, allocations: 111.4 kB / 0.7915 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2322, allocations: 0 / 0.7915 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003977/0.2326, allocations: 260.8 kB / 0.7918 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.412e-05/0.2326, allocations: 71.39 kB / 0.7918 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2327, allocations: 0 / 0.7918 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2327, allocations: 4 kB / 0.7919 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.212e-05/0.2327, allocations: 4.062 kB / 0.7919 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.2327, allocations: 11.98 kB / 0.7919 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/0.2331, allocations: 75.84 kB / 0.7919 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.2331, allocations: 15.98 kB / 0.792 GB, free: 6.863 MB / 0.6075 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 9.463e-05/0.2332, allocations: 125.7 kB / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.338e-06/0.2332, allocations: 0 / 0.7921 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.2333, allocations: 12.38 kB / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2333, allocations: 0 / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2333, allocations: 4.062 kB / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2333, allocations: 3.984 kB / 0.7921 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.2334, allocations: 181.5 kB / 0.7923 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2334, allocations: 0 / 0.7923 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.029e-05/0.2335, allocations: 480 / 0.7923 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2335, allocations: 7.938 kB / 0.7923 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.2335, allocations: 4 kB / 0.7923 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2335, allocations: 3.984 kB / 0.7923 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.2335, allocations: 0 / 0.7923 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.2336, allocations: 113.2 kB / 0.7924 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.2337, allocations: 89 kB / 0.7925 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.2337, allocations: 8 kB / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.722e-05/0.2337, allocations: 0 / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.2338, allocations: 7.984 kB / 0.7925 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.2338, allocations: 0 / 0.7925 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.249e-05/0.2338, allocations: 87.28 kB / 0.7926 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2338, allocations: 0 / 0.7926 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002259/0.2341, allocations: 35.98 kB / 0.7926 GB, free: 6.098 MB / 0.6075 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.0001603/0.2342, allocations: 111.1 kB / 0.7927 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003219/0.2346, allocations: 242.7 kB / 0.7929 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2346, allocations: 0 / 0.7929 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.757e-05/0.2346, allocations: 32.05 kB / 0.793 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.2348, allocations: 15.94 kB / 0.793 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.2352, allocations: 171.6 kB / 0.7932 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.2354, allocations: 0.6887 MB / 0.7938 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.599e-05/0.2354, allocations: 4 kB / 0.7938 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.2354, allocations: 15.38 kB / 0.7938 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2354, allocations: 0 / 0.7938 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of Templates: time 0.003952/0.2394, allocations: 1.676 MB / 0.7955 GB, free: 3.09 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) Environment - environmentSimulation: