Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.Xor,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",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.453/1.453, allocations: 287.4 MB / 302.6 MB, free: 8.219 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.0009081/0.000908, allocations: 182.2 kB / 371.1 MB, free: 10.78 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.202/1.202, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0006796/0.0006797, allocations: 91.66 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003284, allocations: 14.53 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1611, allocations: 115.3 MB / 0.9788 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0007151/0.1619, allocations: 390.5 kB / 0.9791 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1629, allocations: 1.168 MB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.692e-05/0.163, allocations: 0 / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.815e-05/0.163, allocations: 3.938 kB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.111e-05/0.1631, allocations: 11.91 kB / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.1636, allocations: 196.2 kB / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.1637, allocations: 131.8 kB / 0.9806 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.318e-05/0.1638, allocations: 12 kB / 0.9806 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.1639, allocations: 59.88 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.357e-05/0.1639, allocations: 47.81 kB / 0.9807 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.164, allocations: 12 kB / 0.9807 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.324e-05/0.164, allocations: 19.98 kB / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.1641, allocations: 11.97 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.1641, allocations: 41.7 kB / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.1642, allocations: 99.97 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1642, allocations: 3.938 kB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1642, allocations: 4 kB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.1643, allocations: 0 / 0.9809 GB, free: 25.83 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.0003377/0.1646, allocations: 410.8 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1646, allocations: 8.031 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.302e-05/0.1647, allocations: 30.75 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.1647, allocations: 12.84 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.125e-05/0.1648, allocations: 168.4 kB / 0.9815 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.1648, allocations: 4.375 kB / 0.9815 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.1648, allocations: 12.38 kB / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.161e-05/0.1649, allocations: 58.23 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.165, allocations: 7.875 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.165, allocations: 0 / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.165, allocations: 0 / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.645e-05/0.165, allocations: 19.94 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.1654, allocations: 360.6 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.724e-05/0.1654, allocations: 38.58 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.1655, allocations: 16.94 kB / 0.982 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.1655, allocations: 3.938 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.1656, allocations: 83.31 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.1656, allocations: 0 / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0001766/0.1658, allocations: 101.6 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.1658, allocations: 59.41 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.996e-05/0.1659, allocations: 125.8 kB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.1659, allocations: 29.7 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.1659, allocations: 92.05 kB / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.221e-05/0.166, allocations: 7.906 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.48e-05/0.166, allocations: 8 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.952e-05/0.166, allocations: 322.8 kB / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.1661, allocations: 55.97 kB / 0.9828 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.1662, allocations: 97.12 kB / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.1664, allocations: 152.1 kB / 0.9831 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1664, allocations: 4 kB / 0.9831 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003029/0.1667, allocations: 272.7 kB / 0.9833 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.1667, allocations: 67.39 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1667, allocations: 0 / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1668, allocations: 4 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-05/0.1668, allocations: 7.922 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1668, allocations: 4 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.1671, allocations: 83.91 kB / 0.9835 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.1672, allocations: 11.98 kB / 0.9835 GB, free: 22.84 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,xor1.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 6.549e-05/0.1672, allocations: 128.9 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.1673, allocations: 8 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.186e-05/0.1673, allocations: 12.36 kB / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1673, allocations: 0 / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1673, allocations: 3.984 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1673, allocations: 4 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.687e-05/0.1674, allocations: 173.5 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1674, allocations: 4 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.195e-06/0.1674, allocations: 0 / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1674, allocations: 7.922 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.1674, allocations: 4 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1674, allocations: 11.94 kB / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1674, allocations: 0 / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.756e-05/0.1675, allocations: 101 kB / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.902e-05/0.1676, allocations: 89.02 kB / 0.984 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.1676, allocations: 0 / 0.984 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.913e-05/0.1676, allocations: 4.062 kB / 0.984 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.1676, allocations: 7.984 kB / 0.984 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1677, allocations: 8 kB / 0.9841 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.44e-05/0.1677, allocations: 95.27 kB / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1677, allocations: 0 / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001881/0.1679, allocations: 28 kB / 0.9842 GB, free: 22.07 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,xor1.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.0002516/0.1681, allocations: 0.6598 MB / 0.9848 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.1684, allocations: 250.7 kB / 0.9851 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1684, allocations: 3.938 kB / 0.9851 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.652e-05/0.1684, allocations: 24 kB / 0.9851 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.1686, allocations: 19.92 kB / 0.9851 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007982/0.1694, allocations: 0.6992 MB / 0.9858 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.019e-05/0.1695, allocations: 0.6887 MB / 0.9865 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.363e-05/0.1696, allocations: 4 kB / 0.9865 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.1696, allocations: 27.36 kB / 0.9865 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.1696, allocations: 3.938 kB / 0.9865 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01155/0.1811, allocations: 2.591 MB / 0.989 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001316/0.1813, allocations: 185.2 kB / 0.9892 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.382/1.563, allocations: 0 / 0.9892 GB, free: 16.88 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)