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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.443/1.443, allocations: 288.4 MB / 303.6 MB, free: 8.176 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.0008716/0.0008717, allocations: 179 kB / 372.3 MB, free: 10.09 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.155/1.155, allocations: 205.4 MB / 0.631 GB, free: 9.84 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.0006912/0.0006913, allocations: 106.6 kB / 0.7444 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003681, allocations: 13.62 kB / 0.8676 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1641, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0006489/0.1648, allocations: 402.7 kB / 0.9806 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1659, allocations: 1.165 MB / 0.9817 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.489e-05/0.1659, allocations: 0 / 0.9817 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.1659, allocations: 3.938 kB / 0.9817 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.764e-05/0.166, allocations: 11.92 kB / 0.9817 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.1665, allocations: 194.8 kB / 0.9819 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.1666, allocations: 135.7 kB / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.895e-05/0.1667, allocations: 11.98 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.326e-05/0.1668, allocations: 55.89 kB / 0.9821 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.505e-05/0.1669, allocations: 43.88 kB / 0.9822 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.1669, allocations: 8 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.589e-05/0.167, allocations: 19.98 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.167, allocations: 11.98 kB / 0.9822 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.555e-05/0.1671, allocations: 81.53 kB / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.1672, allocations: 104 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1672, allocations: 4 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1672, allocations: 0 / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.1672, allocations: 0 / 0.9824 GB, free: 24.96 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.0003057/0.1675, allocations: 402.8 kB / 0.9828 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1676, allocations: 8.031 kB / 0.9828 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.528e-05/0.1676, allocations: 34.73 kB / 0.9828 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.1676, allocations: 12.84 kB / 0.9828 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.28e-05/0.1677, allocations: 168.3 kB / 0.983 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1677, allocations: 8.375 kB / 0.983 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.1678, allocations: 12.38 kB / 0.983 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.021e-05/0.1679, allocations: 50.17 kB / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.1679, allocations: 3.938 kB / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.1679, allocations: 4 kB / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1679, allocations: 0 / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.186e-05/0.1679, allocations: 15.98 kB / 0.9831 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.1683, allocations: 360.6 kB / 0.9834 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.49e-05/0.1684, allocations: 38.5 kB / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.1684, allocations: 16.8 kB / 0.9835 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.1684, allocations: 0 / 0.9835 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.1685, allocations: 83.44 kB / 0.9835 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1686, allocations: 0 / 0.9835 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0001959/0.1688, allocations: 109.5 kB / 0.9836 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.1688, allocations: 51.41 kB / 0.9837 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.089e-05/0.1689, allocations: 113.8 kB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.484e-05/0.1689, allocations: 33.7 kB / 0.9838 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.169, allocations: 100 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.228e-05/0.169, allocations: 7.891 kB / 0.9839 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/0.169, allocations: 8 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.485e-05/0.1691, allocations: 322.8 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.1692, allocations: 59.97 kB / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.1693, allocations: 92.27 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.1694, allocations: 160 kB / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1694, allocations: 4 kB / 0.9846 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003269/0.1698, allocations: 256.8 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/0.1698, allocations: 67.39 kB / 0.9849 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1698, allocations: 4 kB / 0.9849 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1699, allocations: 0 / 0.9849 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.852e-05/0.1699, allocations: 11.94 kB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1699, allocations: 0 / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.1703, allocations: 86.42 kB / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.1703, allocations: 8 kB / 0.985 GB, free: 22 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.429e-05/0.1704, allocations: 135.1 kB / 0.9851 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.1704, allocations: 8 kB / 0.9851 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/0.1704, allocations: 4.375 kB / 0.9851 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1704, allocations: 4 kB / 0.9851 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1704, allocations: 0 / 0.9851 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1704, allocations: 0 / 0.9851 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.301e-05/0.1705, allocations: 185.5 kB / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1705, allocations: 8 kB / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.155e-06/0.1706, allocations: 0 / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1706, allocations: 4 kB / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.1706, allocations: 4 kB / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1706, allocations: 3.938 kB / 0.9853 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1706, allocations: 0 / 0.9853 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.1707, allocations: 109.1 kB / 0.9854 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.1707, allocations: 85.02 kB / 0.9855 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.1707, allocations: 3.984 kB / 0.9855 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.838e-05/0.1708, allocations: 0 / 0.9855 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.1708, allocations: 8 kB / 0.9855 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.1708, allocations: 8 kB / 0.9855 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.516e-05/0.1708, allocations: 95.14 kB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1708, allocations: 0 / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002075/0.171, allocations: 32 kB / 0.9856 GB, free: 21.22 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.000257/0.1713, allocations: 0.6553 MB / 0.9863 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.1716, allocations: 246.7 kB / 0.9865 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1716, allocations: 0 / 0.9865 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.745e-05/0.1716, allocations: 31.92 kB / 0.9865 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.1718, allocations: 15.92 kB / 0.9866 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008339/0.1727, allocations: 0.6993 MB / 0.9872 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.951e-05/0.1728, allocations: 0.6917 MB / 0.9879 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.1728, allocations: 4 kB / 0.9879 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.1728, allocations: 19.44 kB / 0.9879 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.1728, allocations: 3.938 kB / 0.9879 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3207/0.4935, allocations: 2.597 MB / 0.9905 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/0.4937, allocations: 191 kB / 0.9907 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.248, allocations: 0 / 0.9907 GB, free: 16.05 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)