Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 105.5 kB / 16.27 MB, free: 5.984 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.001475/0.001475, allocations: 193.3 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.1 MB / 223.1 MB, free: 12.15 MB / 190.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.799/1.799, allocations: 292.3 MB / 0.5495 GB, free: 17.49 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.00203/0.00203, allocations: 75.91 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2836, allocations: 114.5 MB / 0.784 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002613/0.2862, allocations: 0.7284 MB / 0.7847 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.2882, allocations: 1.258 MB / 0.786 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.03e-05/0.2883, allocations: 0 / 0.786 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.112e-05/0.2884, allocations: 3.938 kB / 0.786 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.2885, allocations: 27.78 kB / 0.786 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.2895, allocations: 295.7 kB / 0.7863 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.2899, allocations: 275.5 kB / 0.7865 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.2901, allocations: 16.17 kB / 0.7866 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.2903, allocations: 99.86 kB / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.2904, allocations: 75.77 kB / 0.7867 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.979e-05/0.2905, allocations: 28 kB / 0.7868 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.2906, allocations: 39.92 kB / 0.7868 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.74e-05/0.2906, allocations: 11.98 kB / 0.7868 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.2908, allocations: 87.73 kB / 0.7869 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.2911, allocations: 215.7 kB / 0.7871 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2911, allocations: 4 kB / 0.7871 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.634e-06/0.2911, allocations: 0 / 0.7871 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.2911, allocations: 0 / 0.7871 GB, free: 0.6836 MB / 0.6544 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.0007233/0.2919, allocations: 492.3 kB / 0.7876 GB, free: 140 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.2919, allocations: 8.031 kB / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.073e-05/0.292, allocations: 24.84 kB / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3652/0.6572, allocations: 173.4 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.338e-05/0.6573, allocations: 8.031 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.6574, allocations: 14.88 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.6576, allocations: 56.5 kB / 0.7878 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.6576, allocations: 2.906 kB / 0.7878 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.6576, allocations: 0 / 0.7878 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6577, allocations: 0 / 0.7878 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.734e-05/0.6577, allocations: 28.5 kB / 0.7879 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.6583, allocations: 417.5 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.593e-05/0.6583, allocations: 32.42 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/0.6584, allocations: 20.72 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.6584, allocations: 3.938 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002367/0.6586, allocations: 101.5 kB / 0.7884 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.6587, allocations: 0.9688 kB / 0.7884 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0002863/0.6589, allocations: 136.1 kB / 0.7886 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.659, allocations: 61.33 kB / 0.7886 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.192e-05/0.6591, allocations: 130.6 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.6591, allocations: 36.48 kB / 0.7888 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/0.6592, allocations: 98.34 kB / 0.7889 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.6592, allocations: 27.81 kB / 0.7889 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.6594, allocations: 70.33 kB / 0.789 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.522e-05/0.6594, allocations: 316.6 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.6596, allocations: 87.28 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.6598, allocations: 140.7 kB / 0.7895 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.66, allocations: 231.2 kB / 0.7897 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.66, allocations: 0.5 kB / 0.7897 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004919/0.6605, allocations: 380.5 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.744e-05/0.6606, allocations: 99.34 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.6606, allocations: 2.625 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.6606, allocations: 2.625 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.853e-05/0.6606, allocations: 12.41 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.6606, allocations: 2.625 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/0.6612, allocations: 81.31 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.6612, allocations: 19.7 kB / 0.7903 GB, free: 47.3 MB / 0.6544 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,booPul3.y,$PRE.booPul3.y,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.692e-05/0.6613, allocations: 130.3 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.6613, allocations: 11.22 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.6614, allocations: 12.31 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.6614, allocations: 4.156 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6614, allocations: 0 / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.6614, allocations: 2.422 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.863e-05/0.6615, allocations: 196.6 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6615, allocations: 0.5 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.033e-05/0.6615, allocations: 3.188 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.6615, allocations: 1.906 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.6615, allocations: 4.594 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6615, allocations: 0 / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6616, allocations: 0 / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.6617, allocations: 143.6 kB / 0.7908 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.6617, allocations: 83.64 kB / 0.7908 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.6618, allocations: 1.766 kB / 0.7908 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.551e-05/0.6618, allocations: 5.141 kB / 0.7908 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.6618, allocations: 14 kB / 0.7909 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.6619, allocations: 6.406 kB / 0.7909 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.375e-05/0.6619, allocations: 103.9 kB / 0.791 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6619, allocations: 0 / 0.791 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002655/0.6622, allocations: 46.75 kB / 0.791 GB, free: 46.73 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001554/0.6623, allocations: 109 kB / 0.7911 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004184/0.6628, allocations: 370.3 kB / 0.7915 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6628, allocations: 2 kB / 0.7915 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.307e-05/0.6628, allocations: 39.61 kB / 0.7915 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.6631, allocations: 35.14 kB / 0.7915 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.6634, allocations: 218.8 kB / 0.7917 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.6636, allocations: 0.6933 MB / 0.7924 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.6636, allocations: 12.81 kB / 0.7924 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.6636, allocations: 0 / 0.7924 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.003042/0.6666, allocations: 1.876 MB / 0.7943 GB, free: 45.5 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)