Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.Integers.Validation.Change,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change",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.505/1.505, allocations: 288.4 MB / 303.6 MB, free: 8.066 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.0009671/0.0009673, allocations: 180.5 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.198/1.198, allocations: 205.4 MB / 0.631 GB, free: 9.859 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.0006911/0.0006912, allocations: 92.55 kB / 0.7444 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003227, allocations: 13.03 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1517, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.001705/0.1534, allocations: 1.594 MB / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1545, allocations: 0.9649 MB / 0.9827 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.759e-05/0.1546, allocations: 3.938 kB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.1548, allocations: 83.77 kB / 0.9828 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.155, allocations: 83.7 kB / 0.9829 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.1552, allocations: 101.6 kB / 0.983 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.1554, allocations: 183.5 kB / 0.9831 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1555, allocations: 49.92 kB / 0.9832 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.849e-05/0.1556, allocations: 79.62 kB / 0.9833 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.486e-05/0.1557, allocations: 87.58 kB / 0.9833 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.1558, allocations: 4 kB / 0.9833 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.535e-05/0.1559, allocations: 43.98 kB / 0.9834 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/0.1559, allocations: 51.77 kB / 0.9834 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.244e-05/0.156, allocations: 109.2 kB / 0.9835 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.1561, allocations: 195.5 kB / 0.9837 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1561, allocations: 4 kB / 0.9837 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1562, allocations: 0 / 0.9837 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.1562, allocations: 3.938 kB / 0.9837 GB, free: 23.56 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005983/0.1568, allocations: 0.5141 MB / 0.9842 GB, free: 23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1568, allocations: 8.031 kB / 0.9842 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.4e-05/0.1568, allocations: 42.75 kB / 0.9843 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.1569, allocations: 28.66 kB / 0.9843 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.1571, allocations: 287.8 kB / 0.9846 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1572, allocations: 8 kB / 0.9846 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.1572, allocations: 11.98 kB / 0.9846 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.1574, allocations: 115.3 kB / 0.9847 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1574, allocations: 0 / 0.9847 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1575, allocations: 11.98 kB / 0.9847 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1575, allocations: 7.938 kB / 0.9847 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.1577, allocations: 95.92 kB / 0.9848 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.1582, allocations: 456.5 kB / 0.9853 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.1585, allocations: 142.6 kB / 0.9854 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.1586, allocations: 60.83 kB / 0.9855 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1587, allocations: 0 / 0.9855 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.1589, allocations: 127.3 kB / 0.9856 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.1589, allocations: 0 / 0.9856 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0005284/0.1595, allocations: 276 kB / 0.9858 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.1595, allocations: 59.39 kB / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.1597, allocations: 322.5 kB / 0.9862 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1597, allocations: 33.7 kB / 0.9862 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.1598, allocations: 144.5 kB / 0.9864 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.1598, allocations: 43.44 kB / 0.9864 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.1599, allocations: 4 kB / 0.9864 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.1599, allocations: 338.8 kB / 0.9867 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.1601, allocations: 87.95 kB / 0.9868 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.1603, allocations: 145.9 kB / 0.987 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.1606, allocations: 208.5 kB / 0.9872 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1606, allocations: 0 / 0.9872 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004617/0.1611, allocations: 297.2 kB / 0.9874 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.1611, allocations: 7.938 kB / 0.9875 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1611, allocations: 4 kB / 0.9875 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.1611, allocations: 0 / 0.9875 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.1613, allocations: 47.91 kB / 0.9875 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1613, allocations: 0 / 0.9875 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.1615, allocations: 31.98 kB / 0.9875 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.1615, allocations: 12 kB / 0.9875 GB, free: 19.39 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: 20 ($PRE.cha.y,$PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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 9.506e-05/0.1616, allocations: 159 kB / 0.9877 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.1616, allocations: 35.64 kB / 0.9877 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.884e-05/0.1617, allocations: 26.12 kB / 0.9878 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1617, allocations: 0 / 0.9878 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1617, allocations: 0 / 0.9878 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1617, allocations: 7.984 kB / 0.9878 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005827/0.1623, allocations: 0.5567 MB / 0.9883 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.1623, allocations: 0 / 0.9883 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.117e-05/0.1624, allocations: 23.92 kB / 0.9883 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1624, allocations: 0 / 0.9883 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1624, allocations: 8 kB / 0.9883 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1624, allocations: 0 / 0.9883 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1624, allocations: 0 / 0.9883 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.1628, allocations: 311 kB / 0.9886 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.1628, allocations: 92.92 kB / 0.9887 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.1628, allocations: 11.94 kB / 0.9887 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.163, allocations: 15.97 kB / 0.9887 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.163, allocations: 15.98 kB / 0.9888 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.1631, allocations: 8 kB / 0.9888 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001326/0.1632, allocations: 209.9 kB / 0.989 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.31e-07/0.1632, allocations: 0 / 0.989 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002578/0.1635, allocations: 63.77 kB / 0.989 GB, free: 17.77 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001161/0.1646, allocations: 1.144 MB / 0.9902 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003841/0.165, allocations: 199.8 kB / 0.9903 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.165, allocations: 0 / 0.9903 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.1652, allocations: 75.89 kB / 0.9904 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.1656, allocations: 62.62 kB / 0.9905 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.1673, allocations: 1.51 MB / 0.9919 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.1674, allocations: 0.7557 MB / 0.9927 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.252e-05/0.1675, allocations: 33.94 kB / 0.9927 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.461e-05/0.1676, allocations: 71.41 kB / 0.9928 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.1676, allocations: 0 / 0.9928 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.1812, allocations: 5.066 MB / 0.9977 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/0.1814, allocations: 230.5 kB / 0.998 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/1.841, allocations: 4 kB / 0.998 GB, free: 8.777 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)