Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.766/1.766, allocations: 288.3 MB / 303.2 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 183.2 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 96.53 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003965, allocations: 12.5 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2831, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0008223/0.284, allocations: 385 kB / 0.9798 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2853, allocations: 1.128 MB / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.852e-05/0.2853, allocations: 0 / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.2854, allocations: 0 / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.726e-05/0.2854, allocations: 23.95 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.2861, allocations: 194.8 kB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.823e-05/0.2862, allocations: 83.89 kB / 0.9812 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.813e-05/0.2863, allocations: 7.984 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.2863, allocations: 55.89 kB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.631e-05/0.2864, allocations: 47.88 kB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.2865, allocations: 12 kB / 0.9813 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-05/0.2865, allocations: 15.98 kB / 0.9813 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.2866, allocations: 15.92 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.2866, allocations: 37.7 kB / 0.9814 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.2867, allocations: 104 kB / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2867, allocations: 0 / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2868, allocations: 0 / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2868, allocations: 0 / 0.9815 GB, free: 25.6 MB / 0.6198 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.0003685/0.2871, allocations: 406.7 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2872, allocations: 16.02 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.2872, allocations: 11.91 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.2873, allocations: 178.9 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.2874, allocations: 8 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.2874, allocations: 11.98 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.887e-05/0.2875, allocations: 41.69 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.2875, allocations: 0 / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.2875, allocations: 4 kB / 0.9821 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.2876, allocations: 0 / 0.9821 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.429e-05/0.2876, allocations: 15.98 kB / 0.9821 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.288, allocations: 360.6 kB / 0.9825 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.732e-05/0.2881, allocations: 38.5 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.2881, allocations: 7.938 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.2882, allocations: 75.45 kB / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.2882, allocations: 4 kB / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002078/0.2884, allocations: 109.5 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.2885, allocations: 55.41 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.821e-05/0.2885, allocations: 114 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.2886, allocations: 29.7 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.2886, allocations: 92.31 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.2886, allocations: 15.81 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.2887, allocations: 4 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.665e-05/0.2887, allocations: 322.8 kB / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.2888, allocations: 59.95 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.2889, allocations: 88.27 kB / 0.9835 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.2891, allocations: 119.8 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2891, allocations: 0 / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003092/0.2894, allocations: 260.8 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/0.2894, allocations: 71.39 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2894, allocations: 0 / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.2895, allocations: 4 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.765e-05/0.2895, allocations: 3.984 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.2895, allocations: 4 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.2899, allocations: 72.06 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.2899, allocations: 15.98 kB / 0.984 GB, free: 22.75 MB / 0.6198 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 7.306e-05/0.29, allocations: 134.4 kB / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.29, allocations: 3.906 kB / 0.9841 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/0.29, allocations: 12.38 kB / 0.9841 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.29, allocations: 3.984 kB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.29, allocations: 0 / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2901, allocations: 0 / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.772e-05/0.2901, allocations: 177.6 kB / 0.9843 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2902, allocations: 4.062 kB / 0.9843 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.665e-06/0.2902, allocations: 4 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2902, allocations: 0 / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2902, allocations: 11.98 kB / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2902, allocations: 0 / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2902, allocations: 3.938 kB / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.2903, allocations: 112.9 kB / 0.9844 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.2903, allocations: 81.02 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.2904, allocations: 8 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.874e-05/0.2904, allocations: 0 / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.2904, allocations: 7.984 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.2904, allocations: 4 kB / 0.9845 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.757e-05/0.2905, allocations: 91.27 kB / 0.9846 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2905, allocations: 288 / 0.9846 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002107/0.2907, allocations: 32 kB / 0.9846 GB, free: 21.98 MB / 0.6198 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.0001252/0.2908, allocations: 99.25 kB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.2911, allocations: 246.6 kB / 0.985 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2911, allocations: 256 / 0.985 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.921e-05/0.2911, allocations: 39.91 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.2913, allocations: 15.94 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.2916, allocations: 159.6 kB / 0.9852 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.2917, allocations: 0.6926 MB / 0.9859 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.47e-05/0.2918, allocations: 7.984 kB / 0.9859 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.568e-05/0.2918, allocations: 11.44 kB / 0.9859 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2918, allocations: 0 / 0.9859 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.003371/0.2952, allocations: 1.685 MB / 0.9875 GB, free: 18.98 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)