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.001433/0.001433, allocations: 97.14 kB / 16.27 MB, free: 6.418 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.001259/0.001259, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.42/1.42, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.856/1.856, allocations: 292.3 MB / 0.5495 GB, free: 17.41 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.001428/0.001428, allocations: 67.91 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2678, allocations: 114.6 MB / 0.784 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002067/0.2699, allocations: 0.675 MB / 0.7847 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.2714, allocations: 1.176 MB / 0.7858 GB, free: 2 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.2715, allocations: 3.938 kB / 0.7859 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.2715, allocations: 7.938 kB / 0.7859 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.989e-05/0.2716, allocations: 15.91 kB / 0.7859 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006325/0.2723, allocations: 214.2 kB / 0.7861 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.2725, allocations: 175.8 kB / 0.7862 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.2726, allocations: 15.94 kB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.2727, allocations: 71.88 kB / 0.7863 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.2728, allocations: 47.88 kB / 0.7864 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.2729, allocations: 16 kB / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.587e-05/0.273, allocations: 27.98 kB / 0.7864 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.273, allocations: 15.92 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.987e-05/0.2731, allocations: 51.89 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.2733, allocations: 155.8 kB / 0.7866 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2733, allocations: 3.984 kB / 0.7866 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2733, allocations: 0 / 0.7866 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.2733, allocations: 0 / 0.7866 GB, free: 1.199 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005593/0.2739, allocations: 434.8 kB / 0.7871 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.274, allocations: 8.031 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.101e-05/0.274, allocations: 12.84 kB / 0.7871 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.2742, allocations: 172.3 kB / 0.7872 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.2742, allocations: 4.375 kB / 0.7872 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.2742, allocations: 8.375 kB / 0.7872 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.2744, allocations: 58.17 kB / 0.7873 GB, free: 420 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.2744, allocations: 192 / 0.7873 GB, free: 420 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.2744, allocations: 3.938 kB / 0.7873 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2744, allocations: 0 / 0.7873 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.2744, allocations: 16 kB / 0.7873 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4312/0.7056, allocations: 350.5 kB / 0.7877 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.7058, allocations: 37.39 kB / 0.7877 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.7058, allocations: 17.7 kB / 0.7877 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.7059, allocations: 0 / 0.7877 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002524/0.7061, allocations: 78.2 kB / 0.7878 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 3.676e-06/0.7061, allocations: 1.172 kB / 0.7878 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003436/0.7065, allocations: 108.3 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.7065, allocations: 57.22 kB / 0.7879 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/0.7066, allocations: 121.8 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.7067, allocations: 28.55 kB / 0.7881 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.7067, allocations: 93.02 kB / 0.7882 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.7068, allocations: 12.34 kB / 0.7882 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.7069, allocations: 54.45 kB / 0.7882 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.947e-05/0.7069, allocations: 320.9 kB / 0.7885 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.7071, allocations: 57.53 kB / 0.7886 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.7072, allocations: 97.09 kB / 0.7887 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.7074, allocations: 154.5 kB / 0.7888 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.7074, allocations: 1.5 kB / 0.7888 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003704/0.7078, allocations: 270.7 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.774e-05/0.7078, allocations: 68.83 kB / 0.7892 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.7079, allocations: 0 / 0.7892 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.7079, allocations: 2.875 kB / 0.7892 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.976e-05/0.7079, allocations: 3.125 kB / 0.7892 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.7079, allocations: 10 kB / 0.7892 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/0.7083, allocations: 56.12 kB / 0.7892 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.7084, allocations: 17.61 kB / 0.7892 GB, free: 47.69 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 9.179e-05/0.7085, allocations: 120.5 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.7085, allocations: 6.531 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.7085, allocations: 9.906 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.7085, allocations: 3.719 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.7085, allocations: 3.938 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.7085, allocations: 2.953 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.7086, allocations: 171.7 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7087, allocations: 3.562 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-06/0.7087, allocations: 3.469 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.7087, allocations: 1.406 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.7087, allocations: 2.625 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.7087, allocations: 1.875 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7087, allocations: 4.906 kB / 0.7896 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.7089, allocations: 121 kB / 0.7897 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.7089, allocations: 82.64 kB / 0.7898 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.7089, allocations: 2.625 kB / 0.7898 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.788e-05/0.7089, allocations: 0 / 0.7898 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.709, allocations: 11.5 kB / 0.7898 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.709, allocations: 7.312 kB / 0.7898 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.5e-05/0.709, allocations: 90.58 kB / 0.7899 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.709, allocations: 2.188 kB / 0.7899 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000234/0.7093, allocations: 28.31 kB / 0.7899 GB, free: 47.13 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.000155/0.7094, allocations: 105 kB / 0.79 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000313/0.7098, allocations: 243.7 kB / 0.7902 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7098, allocations: 3.531 kB / 0.7902 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.187e-05/0.7098, allocations: 32.42 kB / 0.7903 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.7101, allocations: 15.78 kB / 0.7903 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.7104, allocations: 184 kB / 0.7905 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.7106, allocations: 0.6903 MB / 0.7911 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.7106, allocations: 13.69 kB / 0.7911 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of SimCode: time 1.763e-06/0.7106, allocations: 0 / 0.7911 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of Templates: time 0.002978/0.7136, allocations: 1.377 MB / 0.7925 GB, free: 46.03 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)