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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.473/1.473, allocations: 287.4 MB / 302.6 MB, free: 8.324 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.0008476/0.0008474, allocations: 178 kB / 371.1 MB, free: 10.82 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.25/1.25, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0006962/0.0006961, allocations: 98.34 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.0003341, allocations: 21.62 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1633, allocations: 115.3 MB / 0.9788 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.000657/0.164, allocations: 434.4 kB / 0.9792 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1651, allocations: 1.242 MB / 0.9804 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.1651, allocations: 0 / 0.9804 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.1652, allocations: 3.938 kB / 0.9804 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.808e-05/0.1652, allocations: 15.86 kB / 0.9804 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005749/0.1658, allocations: 276.5 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.1659, allocations: 203.6 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.649e-05/0.166, allocations: 20.17 kB / 0.9809 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.326e-05/0.1661, allocations: 87.8 kB / 0.981 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.803e-05/0.1662, allocations: 71.77 kB / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.1662, allocations: 12 kB / 0.981 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.1663, allocations: 23.98 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.1663, allocations: 8 kB / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.1664, allocations: 45.64 kB / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.1665, allocations: 155.8 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1665, allocations: 0 / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1665, allocations: 0 / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.1665, allocations: 4 kB / 0.9813 GB, free: 25.46 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.0003096/0.1668, allocations: 460.4 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.1669, allocations: 8.031 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.201e-05/0.1669, allocations: 34.75 kB / 0.9818 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.1669, allocations: 16.83 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.408e-05/0.167, allocations: 172.2 kB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.167, allocations: 12.38 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.1671, allocations: 12.38 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.095e-05/0.1672, allocations: 69.92 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.1672, allocations: 0 / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.1672, allocations: 3.984 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1672, allocations: 0 / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.914e-05/0.1672, allocations: 20 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.1676, allocations: 412.5 kB / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.568e-05/0.1677, allocations: 46.5 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.452e-05/0.1677, allocations: 20.8 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.1677, allocations: 0 / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.1678, allocations: 99.34 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.294e-06/0.1678, allocations: 0 / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002053/0.168, allocations: 137.5 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.1681, allocations: 55.34 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.116e-05/0.1681, allocations: 133.8 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1682, allocations: 33.7 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.1682, allocations: 100 kB / 0.983 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.1682, allocations: 23.81 kB / 0.9831 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.1683, allocations: 4 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.64e-05/0.1683, allocations: 326.8 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.1684, allocations: 83.95 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.1686, allocations: 138 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.1688, allocations: 239 kB / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1688, allocations: 0 / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004136/0.1692, allocations: 373.6 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.1693, allocations: 105.1 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.1693, allocations: 0 / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1693, allocations: 4 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.788e-05/0.1693, allocations: 4 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1693, allocations: 4.125 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004644/0.1698, allocations: 117.6 kB / 0.9844 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.1698, allocations: 19.98 kB / 0.9844 GB, free: 21.9 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 7.293e-05/0.1699, allocations: 141.5 kB / 0.9845 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.1699, allocations: 15.89 kB / 0.9846 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.082e-05/0.17, allocations: 8.375 kB / 0.9846 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.17, allocations: 4 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.17, allocations: 384 / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.17, allocations: 3.984 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.123e-05/0.1701, allocations: 189.6 kB / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1701, allocations: 0 / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.809e-06/0.1701, allocations: 7.875 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1701, allocations: 4 kB / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.1701, allocations: 11.92 kB / 0.9848 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1701, allocations: 0 / 0.9848 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1701, allocations: 4 kB / 0.9848 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.1702, allocations: 140.9 kB / 0.9849 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.719e-05/0.1703, allocations: 85 kB / 0.985 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1703, allocations: 4 kB / 0.985 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.105e-05/0.1703, allocations: 0 / 0.985 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.1703, allocations: 11.98 kB / 0.985 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.1704, allocations: 4 kB / 0.985 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.024e-05/0.1704, allocations: 100.7 kB / 0.9851 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1704, allocations: 0 / 0.9851 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002046/0.1706, allocations: 47.89 kB / 0.9852 GB, free: 21.05 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.0002683/0.1709, allocations: 0.6748 MB / 0.9858 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003031/0.1712, allocations: 366.1 kB / 0.9862 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1712, allocations: 0 / 0.9862 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.596e-05/0.1713, allocations: 39.98 kB / 0.9862 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.1715, allocations: 26.36 kB / 0.9862 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.1725, allocations: 0.9002 MB / 0.9871 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.347e-05/0.1726, allocations: 0.6926 MB / 0.9878 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.568e-05/0.1726, allocations: 4.438 kB / 0.9878 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.1726, allocations: 31.48 kB / 0.9878 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.1726, allocations: 0 / 0.9878 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4147/0.5874, allocations: 3.453 MB / 0.9912 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/0.5876, allocations: 191.8 kB / 0.9914 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/2.16, allocations: 0 / 0.9914 GB, free: 14.63 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)