Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Change,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change",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.456/1.456, allocations: 287.4 MB / 302.6 MB, free: 8.156 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.000945/0.0009451, allocations: 176.5 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.191/1.191, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007838/0.0007839, allocations: 82.36 kB / 0.7431 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003257, allocations: 17.08 kB / 0.8662 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1553, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.0006868/0.156, allocations: 486.3 kB / 0.9792 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009633/0.157, allocations: 1.118 MB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.1571, allocations: 0 / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.1571, allocations: 7.938 kB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.13e-05/0.1572, allocations: 3.938 kB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.1576, allocations: 117.9 kB / 0.9804 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.019e-05/0.1576, allocations: 95.8 kB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.856e-05/0.1577, allocations: 19.97 kB / 0.9805 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.061e-05/0.1578, allocations: 39.91 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.1578, allocations: 35.83 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1579, allocations: 4 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.093e-05/0.1579, allocations: 15.98 kB / 0.9806 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.1579, allocations: 15.98 kB / 0.9806 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.158, allocations: 41.64 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.628e-05/0.1581, allocations: 76.09 kB / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1581, allocations: 0 / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1581, allocations: 0 / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.1581, allocations: 4 kB / 0.9808 GB, free: 26.01 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.0003671/0.1585, allocations: 393 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.1585, allocations: 12.03 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.448e-05/0.1585, allocations: 38.75 kB / 0.9812 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.1586, allocations: 4.938 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.175e-05/0.1586, allocations: 176.2 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1587, allocations: 4.375 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.1587, allocations: 12.38 kB / 0.9814 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.1588, allocations: 66.16 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1589, allocations: 3.938 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1589, allocations: 15.94 kB / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1589, allocations: 0 / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.159, allocations: 47.95 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.1594, allocations: 340.6 kB / 0.9818 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.1595, allocations: 66.55 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.986e-05/0.1596, allocations: 40.95 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.1596, allocations: 0 / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.1598, allocations: 96.23 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.1598, allocations: 0 / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003449/0.1602, allocations: 157.5 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.1602, allocations: 55.39 kB / 0.9822 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.068e-05/0.1602, allocations: 125.8 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1603, allocations: 29.7 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.1603, allocations: 88.14 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.1603, allocations: 15.81 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.1603, allocations: 8 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.954e-05/0.1604, allocations: 322.8 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.1605, allocations: 55.95 kB / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.1607, allocations: 89.27 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.1609, allocations: 153.9 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1609, allocations: 0 / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003556/0.1613, allocations: 223.1 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.1613, allocations: 35.27 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1613, allocations: 320 / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1613, allocations: 4 kB / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.39e-05/0.1614, allocations: 15.92 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1614, allocations: 4.125 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.1616, allocations: 59.8 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.1617, allocations: 7.984 kB / 0.9834 GB, free: 23.02 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: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 5.707e-05/0.1617, allocations: 137.7 kB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.1617, allocations: 7.906 kB / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.034e-05/0.1618, allocations: 8.375 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1618, allocations: 4 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1618, allocations: 64 / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1618, allocations: 4 kB / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.1621, allocations: 386.4 kB / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1621, allocations: 0 / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.1622, allocations: 15.98 kB / 0.9839 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1622, allocations: 4 kB / 0.9839 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1622, allocations: 0 / 0.9839 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1622, allocations: 0 / 0.9839 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1622, allocations: 0 / 0.9839 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.1624, allocations: 227.3 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.1625, allocations: 81.09 kB / 0.9842 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1625, allocations: 8 kB / 0.9842 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.1626, allocations: 11.98 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.1626, allocations: 11.92 kB / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.1626, allocations: 4 kB / 0.9843 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.079e-05/0.1626, allocations: 91.27 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1626, allocations: 0 / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000212/0.1629, allocations: 27.91 kB / 0.9844 GB, free: 21.91 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0003814/0.1633, allocations: 0.7553 MB / 0.9851 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002965/0.1636, allocations: 191.2 kB / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1636, allocations: 0 / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.1637, allocations: 43.97 kB / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.164, allocations: 26.23 kB / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009135/0.1649, allocations: 0.6858 MB / 0.986 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.558e-05/0.165, allocations: 0.6884 MB / 0.9867 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.059e-05/0.165, allocations: 7.984 kB / 0.9867 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.165, allocations: 19.44 kB / 0.9867 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1651, allocations: 0 / 0.9867 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2824/0.4474, allocations: 2.219 MB / 0.9889 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001516/0.4476, allocations: 182.5 kB / 0.9891 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.935/2.383, allocations: 6.25 kB / 0.9891 GB, free: 17.06 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)