Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.741/2.741, allocations: 287.3 MB / 302.3 MB, free: 8.293 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.001594/0.001593, allocations: 186.5 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.298/2.298, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001109/0.001108, allocations: 102.1 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004892/0.0004892, allocations: 14.03 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.217, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.0009125/0.2179, allocations: 434.3 kB / 0.9786 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.2196, allocations: 1.185 MB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.993e-05/0.2197, allocations: 3.938 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.2197, allocations: 4 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.2199, allocations: 19.95 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.2209, allocations: 276.2 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.2212, allocations: 127.8 kB / 0.9802 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.2213, allocations: 20.17 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.2214, allocations: 83.86 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.2216, allocations: 63.84 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.248e-05/0.2216, allocations: 12 kB / 0.9804 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.2218, allocations: 31.91 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.2218, allocations: 8 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.469e-05/0.2219, allocations: 49.64 kB / 0.9804 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.2221, allocations: 151.9 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2221, allocations: 0 / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.895e-06/0.2221, allocations: 4 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.2221, allocations: 0 / 0.9806 GB, free: 25.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005318/0.2227, allocations: 460.1 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.2227, allocations: 12.02 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.397e-05/0.2228, allocations: 15.91 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.223, allocations: 175 kB / 0.9812 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.223, allocations: 4 kB / 0.9812 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-05/0.2231, allocations: 20 kB / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.2232, allocations: 49.67 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2233, allocations: 4 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.2233, allocations: 11.92 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2233, allocations: 3.938 kB / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.802e-05/0.2234, allocations: 16 kB / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006548/0.224, allocations: 420.4 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.443e-05/0.2241, allocations: 26.58 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.2242, allocations: 8.078 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.2244, allocations: 99.3 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.224e-06/0.2244, allocations: 0 / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003734/0.2248, allocations: 133.5 kB / 0.982 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.2249, allocations: 59.39 kB / 0.982 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.225, allocations: 136.1 kB / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.083e-05/0.225, allocations: 41.7 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.553e-05/0.2251, allocations: 100.1 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.2251, allocations: 11.81 kB / 0.9823 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.2252, allocations: 15.98 kB / 0.9823 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.311e-05/0.2253, allocations: 314.8 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.2256, allocations: 91.94 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.2259, allocations: 137.9 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.2262, allocations: 162.2 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.2262, allocations: 0 / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008722/0.2271, allocations: 372.5 kB / 0.9834 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.412e-05/0.2272, allocations: 109 kB / 0.9835 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2272, allocations: 0 / 0.9835 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.2272, allocations: 7.984 kB / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.374e-05/0.2273, allocations: 4 kB / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.2273, allocations: 12.02 kB / 0.9835 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009474/0.2282, allocations: 115.8 kB / 0.9836 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.304e-05/0.2283, allocations: 23.97 kB / 0.9836 GB, free: 22.49 MB / 0.6198 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y,$PRE.booPul3.y,booPul3.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.2285, allocations: 136.2 kB / 0.9838 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.2285, allocations: 7.906 kB / 0.9838 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.2286, allocations: 8.375 kB / 0.9838 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.2286, allocations: 4 kB / 0.9838 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2286, allocations: 3.938 kB / 0.9838 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2286, allocations: 7.938 kB / 0.9838 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.2288, allocations: 189.6 kB / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2288, allocations: 4 kB / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.696e-05/0.2288, allocations: 0 / 0.984 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2288, allocations: 4 kB / 0.984 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.2288, allocations: 7.984 kB / 0.984 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2289, allocations: 0 / 0.984 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2289, allocations: 4 kB / 0.984 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.2291, allocations: 136.9 kB / 0.9841 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.2292, allocations: 81.02 kB / 0.9842 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.2292, allocations: 11.98 kB / 0.9842 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.209e-05/0.2293, allocations: 0 / 0.9842 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.2293, allocations: 11.98 kB / 0.9842 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.2293, allocations: 4 kB / 0.9842 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.746e-05/0.2294, allocations: 99.27 kB / 0.9843 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2294, allocations: 0 / 0.9843 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003866/0.2298, allocations: 36 kB / 0.9844 GB, free: 21.66 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: 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 (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.0001617/0.23, allocations: 121.2 kB / 0.9845 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006276/0.2306, allocations: 362.1 kB / 0.9848 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2306, allocations: 0 / 0.9848 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.005e-05/0.2307, allocations: 39.92 kB / 0.9849 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.2311, allocations: 20.27 kB / 0.9849 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.2315, allocations: 207.8 kB / 0.9851 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.2317, allocations: 0.7004 MB / 0.9858 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.858e-05/0.2318, allocations: 12.36 kB / 0.9858 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.2318, allocations: 23.42 kB / 0.9858 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of SimCode: time 1.493e-06/0.2318, allocations: 0 / 0.9858 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.006825/0.2386, allocations: 2.375 MB / 0.9881 GB, free: 17.75 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)