Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.298/1.298, allocations: 251.5 MB / 266.7 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 181.5 kB / 325.8 MB, free: 2.727 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205 MB / 0.576 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006857/0.0006857, allocations: 94.09 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002681/0.0002681, allocations: 14.97 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.154, allocations: 105.4 MB / 0.8962 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001207/0.1553, allocations: 1.343 MB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003686/0.1557, allocations: 253.7 kB / 0.8978 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.1557, allocations: 3.938 kB / 0.8978 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.512e-05/0.1558, allocations: 3.938 kB / 0.8978 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.268e-05/0.1559, allocations: 19.8 kB / 0.8978 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.156, allocations: 47.94 kB / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.1561, allocations: 155.6 kB / 0.898 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.053e-05/0.1562, allocations: 33.72 kB / 0.898 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.987e-05/0.1563, allocations: 59.77 kB / 0.8981 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.1564, allocations: 75.59 kB / 0.8982 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.1564, allocations: 8 kB / 0.8982 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.812e-05/0.1564, allocations: 4 kB / 0.8982 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.685e-05/0.1565, allocations: 39.88 kB / 0.8982 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.1565, allocations: 55.66 kB / 0.8983 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.1566, allocations: 147.4 kB / 0.8984 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1566, allocations: 0 / 0.8984 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1567, allocations: 0 / 0.8984 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.1567, allocations: 4 kB / 0.8984 GB, free: 65.87 MB / 0.6042 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.0007064/0.1574, allocations: 490.9 kB / 0.8989 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.1574, allocations: 8.031 kB / 0.8989 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.1575, allocations: 46.73 kB / 0.8989 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.1575, allocations: 12.84 kB / 0.8989 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008248/0.1583, allocations: 340 kB / 0.8993 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.1584, allocations: 12.38 kB / 0.8993 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1584, allocations: 12.38 kB / 0.8993 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.1587, allocations: 189.9 kB / 0.8995 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.1588, allocations: 0 / 0.8995 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1588, allocations: 0 / 0.8995 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1588, allocations: 4 kB / 0.8995 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.1593, allocations: 167.8 kB / 0.8996 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006715/0.1599, allocations: 0.5867 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.1604, allocations: 211.7 kB / 0.9004 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.1606, allocations: 98.59 kB / 0.9005 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1607, allocations: 4 kB / 0.9005 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003714/0.1611, allocations: 189.8 kB / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.903e-06/0.1611, allocations: 0 / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0008369/0.1619, allocations: 325.2 kB / 0.901 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.162, allocations: 118.8 kB / 0.9011 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.592e-05/0.162, allocations: 166 kB / 0.9013 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1621, allocations: 33.7 kB / 0.9013 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.1621, allocations: 112.3 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.1621, allocations: 47.52 kB / 0.9014 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.1622, allocations: 21.7 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.625e-05/0.1622, allocations: 326.8 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/0.1625, allocations: 107.7 kB / 0.9019 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.1628, allocations: 152.3 kB / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004492/0.1632, allocations: 186.4 kB / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1632, allocations: 0 / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005554/0.1638, allocations: 269.2 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.1638, allocations: 8 kB / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.1638, allocations: 0 / 0.9025 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1639, allocations: 4 kB / 0.9025 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.1641, allocations: 51.89 kB / 0.9025 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1641, allocations: 0 / 0.9025 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.1643, allocations: 51.98 kB / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.1643, allocations: 8 kB / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 (hysteresis.y,$PRE.hysteresis.y,pul.count,$PRE.pul.count,pul.T_start,$PRE.pul.T_start,hysteresis1.y,$PRE.hysteresis1.y,$whenCondition2,pul1.count,$PRE.pul1.count,pul1.T_start,$PRE.pul1.T_start,hysteresis2.y,$PRE.hysteresis2.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.241e-05/0.1644, allocations: 134.4 kB / 0.9027 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.1644, allocations: 11.91 kB / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.1646, allocations: 102.6 kB / 0.9028 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1646, allocations: 8.547 kB / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1647, allocations: 0 / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1647, allocations: 3.938 kB / 0.9028 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.1648, allocations: 225.5 kB / 0.903 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1648, allocations: 4 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.1649, allocations: 35.97 kB / 0.9031 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1649, allocations: 4 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.165, allocations: 3.984 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.165, allocations: 0 / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.165, allocations: 7.938 kB / 0.9031 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005185/0.1655, allocations: 280.2 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.1655, allocations: 89 kB / 0.9035 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.1656, allocations: 4 kB / 0.9035 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.1658, allocations: 43.89 kB / 0.9035 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.538e-05/0.1659, allocations: 43.88 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.1659, allocations: 4 kB / 0.9035 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.033e-05/0.1659, allocations: 120.9 kB / 0.9037 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1659, allocations: 0 / 0.9037 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001902/0.1661, allocations: 31.94 kB / 0.9037 GB, free: 60.03 MB / 0.6042 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 ($whenCondition2,hysteresis1.y,pul.T_start,pul.count,$whenCondition1,hysteresis2.y,pul1.T_start,pul1.count,hysteresis.y) * Number of discrete states: 5 (hysteresis.y,pul1.count,hysteresis2.y,pul.count,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006994/0.1668, allocations: 0.8181 MB / 0.9045 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005531/0.1674, allocations: 223.7 kB / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1674, allocations: 0 / 0.9047 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.1677, allocations: 115.9 kB / 0.9048 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.1679, allocations: 28.28 kB / 0.9048 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.1702, allocations: 2.044 MB / 0.9068 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.1703, allocations: 0.7089 MB / 0.9075 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001072/0.1704, allocations: 25.55 kB / 0.9076 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.1705, allocations: 39.42 kB / 0.9076 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of SimCode: time 3e-07/0.1705, allocations: 4 kB / 0.9076 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4027/0.5732, allocations: 3.332 MB / 0.9108 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/0.5734, allocations: 225.3 kB / 0.9111 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.148, allocations: 8.062 kB / 0.9111 GB, free: 52.43 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Hysteresis.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)