Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",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.422/1.422, allocations: 288.4 MB / 303.6 MB, free: 7.957 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.0009423/0.0009423, allocations: 184.5 kB / 372.3 MB, free: 10.12 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.631 GB, free: 9.926 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.0007274/0.0007275, allocations: 98.3 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 14.12 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1576, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.0009154/0.1585, allocations: 0.7024 MB / 0.9809 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1599, allocations: 1.281 MB / 0.9822 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.925e-05/0.16, allocations: 0 / 0.9822 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.16, allocations: 11.88 kB / 0.9822 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.1602, allocations: 27.78 kB / 0.9822 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.1608, allocations: 221 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.161, allocations: 259.4 kB / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1611, allocations: 37.67 kB / 0.9827 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.1613, allocations: 103.7 kB / 0.9828 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.1614, allocations: 91.58 kB / 0.9829 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.1614, allocations: 12 kB / 0.9829 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.993e-05/0.1615, allocations: 23.98 kB / 0.9829 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.1615, allocations: 31.91 kB / 0.9829 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.376e-05/0.1616, allocations: 121.2 kB / 0.983 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.1618, allocations: 243.6 kB / 0.9833 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1618, allocations: 0 / 0.9833 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1618, allocations: 3.938 kB / 0.9833 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1618, allocations: 0 / 0.9833 GB, free: 24.07 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006194/0.1625, allocations: 0.5333 MB / 0.9838 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1625, allocations: 8.031 kB / 0.9838 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.511e-05/0.1625, allocations: 38.75 kB / 0.9839 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.1626, allocations: 24.66 kB / 0.9839 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006934/0.1633, allocations: 339.4 kB / 0.9842 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.1633, allocations: 16.31 kB / 0.9842 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.1634, allocations: 16.38 kB / 0.9842 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.1636, allocations: 142.7 kB / 0.9844 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1636, allocations: 3.938 kB / 0.9844 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1637, allocations: 0 / 0.9844 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1637, allocations: 4 kB / 0.9844 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.1639, allocations: 83.94 kB / 0.9845 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.1644, allocations: 0.6413 MB / 0.9851 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.1647, allocations: 135.9 kB / 0.9852 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.1649, allocations: 66.62 kB / 0.9853 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1649, allocations: 0 / 0.9853 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002377/0.1651, allocations: 150.5 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.193e-06/0.1651, allocations: 4 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0004592/0.1656, allocations: 217.8 kB / 0.9856 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.1656, allocations: 106.8 kB / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1658, allocations: 187.8 kB / 0.9859 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.1658, allocations: 37.7 kB / 0.9859 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.1659, allocations: 124.4 kB / 0.9861 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.1659, allocations: 39.58 kB / 0.9861 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.1659, allocations: 4 kB / 0.9861 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.098e-05/0.166, allocations: 330.8 kB / 0.9864 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.1662, allocations: 95.94 kB / 0.9865 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.1664, allocations: 176.4 kB / 0.9867 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.1667, allocations: 233.4 kB / 0.9869 GB, free: 20 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1667, allocations: 0 / 0.9869 GB, free: 20 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005371/0.1672, allocations: 364.7 kB / 0.9872 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.1673, allocations: 69.06 kB / 0.9873 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1673, allocations: 3.984 kB / 0.9873 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1673, allocations: 4 kB / 0.9873 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.432e-05/0.1674, allocations: 19.98 kB / 0.9873 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1674, allocations: 11.88 kB / 0.9874 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003704/0.1678, allocations: 87.77 kB / 0.9874 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.1678, allocations: 16 kB / 0.9875 GB, free: 19.41 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: 14 ($whenCondition3,$whenCondition4,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * 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 9.139e-05/0.1679, allocations: 146.3 kB / 0.9876 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.168, allocations: 15.81 kB / 0.9876 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.1682, allocations: 106.5 kB / 0.9877 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1682, allocations: 4 kB / 0.9877 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1682, allocations: 3.938 kB / 0.9877 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1682, allocations: 4 kB / 0.9877 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.1683, allocations: 233.6 kB / 0.9879 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1684, allocations: 0 / 0.9879 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.1684, allocations: 19.92 kB / 0.988 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1684, allocations: 0 / 0.988 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1685, allocations: 4 kB / 0.988 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1685, allocations: 3.984 kB / 0.988 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1685, allocations: 11.94 kB / 0.988 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.1688, allocations: 200.4 kB / 0.9882 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.1688, allocations: 100.8 kB / 0.9883 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.1688, allocations: 4 kB / 0.9883 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.984e-05/0.1689, allocations: 11.98 kB / 0.9883 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.169, allocations: 35.88 kB / 0.9883 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.169, allocations: 4.188 kB / 0.9883 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.856e-05/0.1691, allocations: 139.3 kB / 0.9885 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1691, allocations: 0 / 0.9885 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002351/0.1693, allocations: 43.94 kB / 0.9885 GB, free: 18.23 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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.000477/0.1698, allocations: 0.7584 MB / 0.9892 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004253/0.1703, allocations: 318.6 kB / 0.9895 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1703, allocations: 256 / 0.9895 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.1704, allocations: 76.19 kB / 0.9896 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.1707, allocations: 39.69 kB / 0.9897 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.1722, allocations: 1.201 MB / 0.9908 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.1723, allocations: 0.728 MB / 0.9915 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.664e-05/0.1725, allocations: 25.55 kB / 0.9916 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.1725, allocations: 58.3 kB / 0.9916 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.1725, allocations: 0 / 0.9916 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5431/0.7157, allocations: 4.667 MB / 0.9962 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.7159, allocations: 219.2 kB / 0.9964 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/2.819, allocations: 0 / 0.9964 GB, free: 10.15 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)