Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.427/1.427, allocations: 287.4 MB / 302.5 MB, free: 8.285 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.0007958/0.0007958, allocations: 174 kB / 371.1 MB, free: 10.83 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.152/1.152, allocations: 205.4 MB / 0.6298 GB, free: 10.45 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.0006689/0.0006689, allocations: 83.17 kB / 0.7431 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003361, allocations: 14.94 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1523, allocations: 115.3 MB / 0.9788 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.0008897/0.1533, allocations: 0.7052 MB / 0.9794 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1545, allocations: 1.286 MB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.707e-05/0.1546, allocations: 8 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/0.1547, allocations: 11.86 kB / 0.9807 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.1548, allocations: 27.78 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005846/0.1554, allocations: 217.8 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.1556, allocations: 259.4 kB / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1557, allocations: 41.67 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1559, allocations: 95.67 kB / 0.9813 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.156, allocations: 91.64 kB / 0.9814 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.156, allocations: 12 kB / 0.9814 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.419e-05/0.1561, allocations: 31.91 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.1561, allocations: 27.91 kB / 0.9815 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.1562, allocations: 57.58 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.1564, allocations: 247.6 kB / 0.9818 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1564, allocations: 0 / 0.9818 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1564, allocations: 0 / 0.9818 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1564, allocations: 0 / 0.9818 GB, free: 24.94 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.0006091/0.157, allocations: 0.5333 MB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1571, allocations: 12.03 kB / 0.9823 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.1571, allocations: 42.73 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.007e-05/0.1572, allocations: 24.66 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.1578, allocations: 327.7 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.1579, allocations: 12.38 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.1579, allocations: 20.36 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002234/0.1582, allocations: 142.3 kB / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1582, allocations: 3.984 kB / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1582, allocations: 8 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.1582, allocations: 0 / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.1584, allocations: 87.88 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.159, allocations: 0.6374 MB / 0.9836 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.1593, allocations: 143.9 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.1594, allocations: 54.7 kB / 0.9838 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.1594, allocations: 0 / 0.9838 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.1597, allocations: 154.5 kB / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.1597, allocations: 0 / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0004625/0.1601, allocations: 213.3 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.1602, allocations: 114.7 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.1603, allocations: 186.8 kB / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.1604, allocations: 37.7 kB / 0.9844 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.1604, allocations: 128.4 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.1605, allocations: 39.58 kB / 0.9846 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.834e-05/0.1605, allocations: 12 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.636e-05/0.1605, allocations: 326.8 kB / 0.9849 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.1608, allocations: 91.94 kB / 0.985 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.161, allocations: 164.5 kB / 0.9852 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.1613, allocations: 237.7 kB / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1613, allocations: 0 / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005304/0.1618, allocations: 352.8 kB / 0.9857 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.1619, allocations: 63.41 kB / 0.9858 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1619, allocations: 4 kB / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1619, allocations: 0 / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.125e-05/0.162, allocations: 27.86 kB / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.162, allocations: 3.938 kB / 0.9858 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.1624, allocations: 95.77 kB / 0.9859 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.1624, allocations: 19.98 kB / 0.9859 GB, free: 20.29 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.216e-05/0.1625, allocations: 139.1 kB / 0.9861 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.1625, allocations: 19.8 kB / 0.9861 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.1628, allocations: 106.6 kB / 0.9862 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1628, allocations: 4 kB / 0.9862 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1628, allocations: 3.938 kB / 0.9862 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1628, allocations: 288 / 0.9862 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.1629, allocations: 233.6 kB / 0.9864 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1629, allocations: 4 kB / 0.9864 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.329e-05/0.163, allocations: 19.92 kB / 0.9864 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.163, allocations: 3.984 kB / 0.9864 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.163, allocations: 8 kB / 0.9864 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1631, allocations: 4 kB / 0.9865 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1631, allocations: 3.938 kB / 0.9865 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.1634, allocations: 203 kB / 0.9866 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.1634, allocations: 96.81 kB / 0.9867 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.1634, allocations: 8 kB / 0.9867 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.662e-05/0.1635, allocations: 11.98 kB / 0.9868 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.1636, allocations: 35.88 kB / 0.9868 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.1636, allocations: 4 kB / 0.9868 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.174e-05/0.1637, allocations: 140.2 kB / 0.9869 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1637, allocations: 4 kB / 0.9869 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002294/0.1639, allocations: 47.94 kB / 0.987 GB, free: 19.11 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.0004767/0.1644, allocations: 0.7572 MB / 0.9877 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004287/0.1649, allocations: 326.8 kB / 0.988 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1649, allocations: 4.062 kB / 0.988 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.165, allocations: 67.89 kB / 0.9881 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.1653, allocations: 43.84 kB / 0.9881 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.1668, allocations: 1.2 MB / 0.9893 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.1669, allocations: 0.7242 MB / 0.99 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.1671, allocations: 25.53 kB / 0.99 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.1671, allocations: 55.42 kB / 0.9901 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.1671, allocations: 3.938 kB / 0.9901 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.423/0.5901, allocations: 4.639 MB / 0.9946 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.5903, allocations: 194.8 kB / 0.9948 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.497, allocations: 3.938 kB / 0.9948 GB, free: 11.05 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)