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.001141/0.001141, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001271/0.001271, allocations: 196.7 kB / 16.91 MB, free: 6.195 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.467/1.467, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.718/1.718, allocations: 292.3 MB / 0.5492 GB, free: 13.6 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: 68.08 kB / 0.6717 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3412, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002214/0.3435, allocations: 0.7784 MB / 0.7843 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.3451, allocations: 1.27 MB / 0.7855 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.3452, allocations: 4 kB / 0.7855 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.646e-05/0.3452, allocations: 0 / 0.7855 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.3453, allocations: 15.84 kB / 0.7856 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000879/0.3462, allocations: 288.3 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.3466, allocations: 263.7 kB / 0.7861 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.3467, allocations: 16.19 kB / 0.7861 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.3469, allocations: 107.7 kB / 0.7862 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.347, allocations: 71.78 kB / 0.7863 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.3471, allocations: 24 kB / 0.7863 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.3472, allocations: 43.91 kB / 0.7863 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.3472, allocations: 12 kB / 0.7863 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.3473, allocations: 87.73 kB / 0.7864 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.3475, allocations: 151.9 kB / 0.7866 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3476, allocations: 0 / 0.7866 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.275e-06/0.3476, allocations: 8 kB / 0.7866 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.3476, allocations: 0 / 0.7866 GB, free: 10.77 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006658/0.3483, allocations: 496.3 kB / 0.787 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3483, allocations: 8.031 kB / 0.7871 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.508e-05/0.3484, allocations: 16.84 kB / 0.7871 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.3485, allocations: 168.3 kB / 0.7872 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.3485, allocations: 12.31 kB / 0.7872 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.3486, allocations: 20.36 kB / 0.7873 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.3487, allocations: 54.22 kB / 0.7873 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3487, allocations: 7.938 kB / 0.7873 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3488, allocations: 4 kB / 0.7873 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3488, allocations: 4 kB / 0.7873 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.999e-05/0.3488, allocations: 15.98 kB / 0.7873 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005756/0.3494, allocations: 416.4 kB / 0.7877 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.953e-05/0.3495, allocations: 34.5 kB / 0.7878 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.539e-05/0.3495, allocations: 24.86 kB / 0.7878 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.3496, allocations: 0 / 0.7878 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.3498, allocations: 99.38 kB / 0.7879 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.3498, allocations: 0 / 0.7879 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003042/0.3501, allocations: 137.5 kB / 0.788 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.3501, allocations: 51.41 kB / 0.7881 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.3503, allocations: 139.7 kB / 0.7882 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.3503, allocations: 45.62 kB / 0.7883 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.3504, allocations: 92.58 kB / 0.7883 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.3504, allocations: 23.66 kB / 0.7884 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.3506, allocations: 69.67 kB / 0.7884 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3507, allocations: 322.8 kB / 0.7887 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.3509, allocations: 95.88 kB / 0.7888 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.3511, allocations: 134 kB / 0.789 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.3514, allocations: 239 kB / 0.7892 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3514, allocations: 0 / 0.7892 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005497/0.3519, allocations: 377.5 kB / 0.7895 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.672e-05/0.352, allocations: 101.1 kB / 0.7896 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.352, allocations: 0 / 0.7896 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3521, allocations: 4 kB / 0.7896 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.736e-05/0.3521, allocations: 7.938 kB / 0.7897 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3521, allocations: 4.188 kB / 0.7897 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005/0.3526, allocations: 83.8 kB / 0.7897 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.3527, allocations: 15.98 kB / 0.7898 GB, free: 7.176 MB / 0.6075 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 0.0001218/0.3528, allocations: 132.8 kB / 0.7899 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.3528, allocations: 11.91 kB / 0.7899 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.3528, allocations: 16.36 kB / 0.7899 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3529, allocations: 0 / 0.7899 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3529, allocations: 0 / 0.7899 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3529, allocations: 0 / 0.7899 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.353, allocations: 201.4 kB / 0.7901 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.353, allocations: 7.984 kB / 0.7901 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-05/0.3531, allocations: 0 / 0.7901 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3531, allocations: 0 / 0.7901 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3531, allocations: 4 kB / 0.7901 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3531, allocations: 4 kB / 0.7901 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3531, allocations: 0 / 0.7901 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.3533, allocations: 140.9 kB / 0.7902 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.3533, allocations: 85.02 kB / 0.7903 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.3533, allocations: 3.984 kB / 0.7903 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.468e-05/0.3534, allocations: 4.094 kB / 0.7903 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.3534, allocations: 15.92 kB / 0.7904 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.3534, allocations: 4 kB / 0.7904 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.3535, allocations: 103.2 kB / 0.7905 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3535, allocations: 4 kB / 0.7905 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002566/0.3538, allocations: 39.98 kB / 0.7905 GB, free: 6.32 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: 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.0001886/0.354, allocations: 103.2 kB / 0.7906 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004892/0.3545, allocations: 373.9 kB / 0.791 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3545, allocations: 384 / 0.791 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.902e-05/0.3546, allocations: 47.92 kB / 0.791 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.3548, allocations: 28.19 kB / 0.791 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.3553, allocations: 240.1 kB / 0.7913 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.3555, allocations: 0.6924 MB / 0.7919 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.3556, allocations: 15.44 kB / 0.7919 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.3556, allocations: 0 / 0.7919 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of Templates: time 0.003666/0.3593, allocations: 1.872 MB / 0.7938 GB, free: 2.883 MB / 0.6075 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)