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.GreaterThreshold.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.GreaterThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",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.423/1.423, allocations: 288.4 MB / 303.6 MB, free: 8.012 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.0008926/0.0008926, allocations: 190.8 kB / 372.3 MB, free: 10.08 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.197/1.197, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.0006388/0.0006387, allocations: 101.2 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003245, allocations: 14.22 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1577, allocations: 115.3 MB / 0.9802 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.00153/0.1592, allocations: 1.591 MB / 0.9818 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1604, allocations: 0.9532 MB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1605, allocations: 7.938 kB / 0.9827 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.1608, allocations: 95.69 kB / 0.9828 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.161, allocations: 75.72 kB / 0.9829 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.1613, allocations: 99.81 kB / 0.983 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.1614, allocations: 171.5 kB / 0.9831 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1616, allocations: 49.64 kB / 0.9832 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.921e-05/0.1617, allocations: 71.64 kB / 0.9832 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.372e-05/0.1617, allocations: 79.61 kB / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.1618, allocations: 4 kB / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.1619, allocations: 51.95 kB / 0.9834 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.1619, allocations: 47.78 kB / 0.9834 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/0.162, allocations: 97.17 kB / 0.9835 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.1622, allocations: 215.7 kB / 0.9837 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1622, allocations: 0 / 0.9837 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1622, allocations: 0 / 0.9837 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.1622, allocations: 0 / 0.9837 GB, free: 23.57 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005258/0.1628, allocations: 0.5023 MB / 0.9842 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.1628, allocations: 8.031 kB / 0.9842 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.995e-05/0.1628, allocations: 38.73 kB / 0.9842 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.1629, allocations: 20.66 kB / 0.9843 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.1632, allocations: 315.6 kB / 0.9846 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1632, allocations: 12.12 kB / 0.9846 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.1632, allocations: 8 kB / 0.9846 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.1633, allocations: 80.28 kB / 0.9847 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.1634, allocations: 0 / 0.9847 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1634, allocations: 0 / 0.9847 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1634, allocations: 0 / 0.9847 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.399e-05/0.1635, allocations: 43.97 kB / 0.9847 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.164, allocations: 428.5 kB / 0.9851 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1641, allocations: 86.59 kB / 0.9852 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.1642, allocations: 36.84 kB / 0.9852 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.1642, allocations: 3.984 kB / 0.9852 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000119/0.1644, allocations: 71.39 kB / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1644, allocations: 0 / 0.9853 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002468/0.1646, allocations: 133.3 kB / 0.9854 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/0.1646, allocations: 59.34 kB / 0.9855 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.1649, allocations: 367 kB / 0.9858 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1649, allocations: 25.7 kB / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.165, allocations: 136 kB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.165, allocations: 19.8 kB / 0.986 GB, free: 21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.165, allocations: 4 kB / 0.986 GB, free: 21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.624e-05/0.1651, allocations: 334.8 kB / 0.9863 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.695e-05/0.1652, allocations: 59.97 kB / 0.9864 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.794e-05/0.1653, allocations: 79.31 kB / 0.9865 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.1654, allocations: 89.7 kB / 0.9866 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1654, allocations: 0 / 0.9866 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002359/0.1656, allocations: 193.2 kB / 0.9867 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.1657, allocations: 4 kB / 0.9867 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1657, allocations: 4 kB / 0.9867 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1657, allocations: 3.938 kB / 0.9867 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.549e-05/0.1658, allocations: 31.92 kB / 0.9868 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.1658, allocations: 4.031 kB / 0.9868 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.612e-05/0.1659, allocations: 15.92 kB / 0.9868 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.1659, allocations: 4 kB / 0.9868 GB, free: 20.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.793e-05/0.166, allocations: 161.7 kB / 0.987 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.166, allocations: 23.72 kB / 0.987 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.1661, allocations: 25.69 kB / 0.987 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1661, allocations: 3.984 kB / 0.987 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1661, allocations: 4 kB / 0.987 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.1661, allocations: 0 / 0.987 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.1662, allocations: 241.6 kB / 0.9872 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1662, allocations: 0 / 0.9872 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.1663, allocations: 15.92 kB / 0.9873 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1663, allocations: 0 / 0.9873 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1663, allocations: 3.938 kB / 0.9873 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1663, allocations: 0 / 0.9873 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1663, allocations: 4 kB / 0.9873 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.1665, allocations: 128.8 kB / 0.9874 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.1665, allocations: 104.8 kB / 0.9875 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.1666, allocations: 11.94 kB / 0.9875 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.682e-05/0.1666, allocations: 11.98 kB / 0.9875 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.1667, allocations: 7.984 kB / 0.9875 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.1667, allocations: 4 kB / 0.9875 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001547/0.1669, allocations: 229.9 kB / 0.9877 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1669, allocations: 4 kB / 0.9877 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002101/0.1671, allocations: 32 kB / 0.9878 GB, free: 19.07 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: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,greHys.greHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0009572/0.168, allocations: 0.9874 MB / 0.9887 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001792/0.1682, allocations: 111.8 kB / 0.9888 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1682, allocations: 0 / 0.9888 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.262e-05/0.1683, allocations: 31.98 kB / 0.9889 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.1686, allocations: 52.45 kB / 0.9889 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.1701, allocations: 1.395 MB / 0.9903 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.1703, allocations: 0.7553 MB / 0.991 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.678e-05/0.1703, allocations: 29.52 kB / 0.9911 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.459e-05/0.1704, allocations: 71.41 kB / 0.9911 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.1704, allocations: 0 / 0.9911 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.317/0.4874, allocations: 4.913 MB / 0.9959 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/0.4876, allocations: 251 kB / 0.9962 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/2.796, allocations: 0 / 0.9962 GB, free: 10.59 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1)