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.001068/0.001068, allocations: 116.7 kB / 16.38 MB, free: 5.996 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.001028/0.001028, allocations: 190.5 kB / 17.31 MB, free: 5.605 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.394/1.394, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.804/1.804, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.00143/0.00143, allocations: 71.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2107, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001836/0.2126, allocations: 0.6745 MB / 0.7855 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.214, allocations: 1.191 MB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.214, allocations: 0 / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.2141, allocations: 3.938 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.922e-05/0.2142, allocations: 7.875 kB / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006196/0.2148, allocations: 225.5 kB / 0.7869 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.215, allocations: 183.8 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.955e-05/0.2151, allocations: 4 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.213e-05/0.2152, allocations: 67.89 kB / 0.7871 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.2153, allocations: 63.78 kB / 0.7872 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.2154, allocations: 16 kB / 0.7872 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.397e-05/0.2154, allocations: 31.98 kB / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.2155, allocations: 11.98 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.056e-05/0.2156, allocations: 55.83 kB / 0.7873 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.2158, allocations: 163.5 kB / 0.7874 GB, free: 476 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2158, allocations: 0 / 0.7874 GB, free: 476 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2158, allocations: 0 / 0.7874 GB, free: 476 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2158, allocations: 0 / 0.7874 GB, free: 476 kB / 0.6544 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.347/0.5628, allocations: 420.1 kB / 0.7878 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.5628, allocations: 9.562 kB / 0.7878 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.711e-05/0.5629, allocations: 13.36 kB / 0.7879 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.445e-05/0.563, allocations: 169.7 kB / 0.788 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.563, allocations: 5.938 kB / 0.788 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.5631, allocations: 13.81 kB / 0.788 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.5632, allocations: 54.58 kB / 0.7881 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.5632, allocations: 3.844 kB / 0.7881 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.5632, allocations: 5.344 kB / 0.7881 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.5632, allocations: 3.25 kB / 0.7881 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.822e-05/0.5633, allocations: 12.53 kB / 0.7881 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.5637, allocations: 348.5 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.2e-05/0.5638, allocations: 42.83 kB / 0.7885 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.5638, allocations: 18.25 kB / 0.7885 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.5638, allocations: 1.938 kB / 0.7885 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.564, allocations: 75.08 kB / 0.7886 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.564, allocations: 0 / 0.7886 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0002202/0.5642, allocations: 105.8 kB / 0.7887 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.5642, allocations: 54.59 kB / 0.7887 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.508e-05/0.5643, allocations: 117.6 kB / 0.7888 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.5643, allocations: 34.8 kB / 0.7889 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.5644, allocations: 97.55 kB / 0.789 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.5644, allocations: 14.75 kB / 0.789 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.072e-05/0.5645, allocations: 49.56 kB / 0.789 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.467e-05/0.5645, allocations: 321.8 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.5646, allocations: 61.92 kB / 0.7894 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.5648, allocations: 91.12 kB / 0.7895 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.5649, allocations: 165.8 kB / 0.7896 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5649, allocations: 0 / 0.7896 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003402/0.5653, allocations: 258 kB / 0.7899 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.5653, allocations: 67.86 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.5653, allocations: 2.906 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.5654, allocations: 0 / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.466e-05/0.5654, allocations: 14.3 kB / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.5654, allocations: 2.844 kB / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.5657, allocations: 58.62 kB / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.5658, allocations: 11.75 kB / 0.79 GB, free: 47.52 MB / 0.6544 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,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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.396e-05/0.5659, allocations: 123.9 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.5659, allocations: 2.781 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.5659, allocations: 11.25 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.5659, allocations: 3.641 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.5659, allocations: 0 / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5659, allocations: 1.938 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.352e-05/0.566, allocations: 183.1 kB / 0.7903 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.566, allocations: 0.875 kB / 0.7903 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.114e-05/0.5661, allocations: 9.578 kB / 0.7904 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5661, allocations: 1.281 kB / 0.7904 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.5661, allocations: 3.406 kB / 0.7904 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5661, allocations: 0 / 0.7904 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5661, allocations: 3.719 kB / 0.7904 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.5662, allocations: 112.4 kB / 0.7905 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.5662, allocations: 86.5 kB / 0.7906 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.5663, allocations: 1 kB / 0.7906 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.914e-05/0.5663, allocations: 2.594 kB / 0.7906 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.5663, allocations: 10.77 kB / 0.7906 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.5663, allocations: 2.094 kB / 0.7906 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.178e-05/0.5664, allocations: 93 kB / 0.7907 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5664, allocations: 0 / 0.7907 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000232/0.5666, allocations: 26.59 kB / 0.7907 GB, free: 46.96 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: 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 (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.0001529/0.5668, allocations: 107.3 kB / 0.7908 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002889/0.5671, allocations: 252.4 kB / 0.791 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5671, allocations: 0 / 0.791 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.476e-05/0.5671, allocations: 29.97 kB / 0.7911 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.5674, allocations: 19.34 kB / 0.7911 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.5677, allocations: 190.3 kB / 0.7913 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.5678, allocations: 0.6841 MB / 0.7919 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/0.5678, allocations: 16.97 kB / 0.7919 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of SimCode: time 1.91e-07/0.5678, allocations: 0 / 0.7919 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.002857/0.5707, allocations: 1.38 MB / 0.7933 GB, free: 45.84 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (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)