Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.372/1.372, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009792/0.0009792, allocations: 170.3 kB / 325.8 MB, free: 2.688 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.488/1.488, allocations: 205 MB / 0.576 GB, free: 20.92 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.000711/0.0007111, allocations: 82 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000272/0.0002721, allocations: 15.02 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1624, allocations: 105.4 MB / 0.8962 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001268/0.1637, allocations: 1.139 MB / 0.8973 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002701/0.164, allocations: 153.2 kB / 0.8975 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.496e-05/0.164, allocations: 0 / 0.8975 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.1641, allocations: 3.938 kB / 0.8975 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.554e-05/0.1641, allocations: 3.984 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001107/0.1642, allocations: 23.91 kB / 0.8975 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.775e-05/0.1643, allocations: 35.98 kB / 0.8975 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.451e-05/0.1644, allocations: 24.14 kB / 0.8976 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.887e-05/0.1645, allocations: 19.94 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.279e-05/0.1645, allocations: 31.83 kB / 0.8976 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1645, allocations: 0 / 0.8976 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-06/0.1646, allocations: 4 kB / 0.8976 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.1646, allocations: 0 / 0.8976 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.1646, allocations: 23.8 kB / 0.8976 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.265e-05/0.1647, allocations: 43.84 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1647, allocations: 0 / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1647, allocations: 0 / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.1647, allocations: 0 / 0.8977 GB, free: 66.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003584/0.1651, allocations: 347.5 kB / 0.898 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.1651, allocations: 12.03 kB / 0.898 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.457e-05/0.1651, allocations: 34.75 kB / 0.898 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.1652, allocations: 4.938 kB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.103e-05/0.1652, allocations: 172.2 kB / 0.8982 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1653, allocations: 4.375 kB / 0.8982 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.1653, allocations: 8.312 kB / 0.8982 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1654, allocations: 74.22 kB / 0.8983 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1655, allocations: 3.938 kB / 0.8983 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1655, allocations: 3.984 kB / 0.8983 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1655, allocations: 4 kB / 0.8983 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.1657, allocations: 59.95 kB / 0.8984 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.166, allocations: 292.8 kB / 0.8986 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.1661, allocations: 74.48 kB / 0.8987 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.96e-05/0.1662, allocations: 36.91 kB / 0.8988 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.1663, allocations: 0 / 0.8988 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.144e-05/0.1663, allocations: 34.56 kB / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1663, allocations: 0 / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003421/0.1666, allocations: 129.5 kB / 0.8989 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/0.1667, allocations: 51.41 kB / 0.899 GB, free: 65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.772e-05/0.1667, allocations: 113.8 kB / 0.8991 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.1667, allocations: 25.7 kB / 0.8991 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.444e-05/0.1668, allocations: 96.08 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.1668, allocations: 15.73 kB / 0.8992 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/0.1668, allocations: 13.72 kB / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.493e-05/0.1668, allocations: 318.8 kB / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.093e-05/0.1669, allocations: 27.97 kB / 0.8995 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.934e-05/0.167, allocations: 31.98 kB / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.1672, allocations: 60.81 kB / 0.8996 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1672, allocations: 0 / 0.8996 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001997/0.1674, allocations: 101.6 kB / 0.8997 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.1674, allocations: 4 kB / 0.8997 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1675, allocations: 0 / 0.8997 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1675, allocations: 0 / 0.8997 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1676, allocations: 19.98 kB / 0.8998 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.1676, allocations: 0 / 0.8998 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.831e-05/0.1677, allocations: 15.98 kB / 0.8998 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.1677, allocations: 3.938 kB / 0.8998 GB, free: 64.12 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 4.837e-05/0.1677, allocations: 117.8 kB / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.1678, allocations: 3.906 kB / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.973e-05/0.1678, allocations: 15.89 kB / 0.8999 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.1678, allocations: 0 / 0.8999 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1678, allocations: 0 / 0.8999 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1678, allocations: 4 kB / 0.8999 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.1679, allocations: 177.6 kB / 0.9001 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1679, allocations: 0 / 0.9001 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.927e-05/0.168, allocations: 12.31 kB / 0.9001 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.168, allocations: 0 / 0.9001 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.168, allocations: 4 kB / 0.9001 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.168, allocations: 3.938 kB / 0.9001 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.168, allocations: 0 / 0.9001 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.1683, allocations: 195.4 kB / 0.9003 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.1683, allocations: 85.02 kB / 0.9004 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1683, allocations: 0 / 0.9004 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.534e-05/0.1684, allocations: 11.98 kB / 0.9004 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.1685, allocations: 15.98 kB / 0.9004 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.1685, allocations: 3.938 kB / 0.9004 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.392e-05/0.1685, allocations: 91.27 kB / 0.9005 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1685, allocations: 0 / 0.9005 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001994/0.1687, allocations: 4 kB / 0.9005 GB, free: 63.29 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0003615/0.1691, allocations: 0.7327 MB / 0.9012 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.1693, allocations: 67.94 kB / 0.9013 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1693, allocations: 0 / 0.9013 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.807e-05/0.1694, allocations: 35.92 kB / 0.9013 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.1697, allocations: 11.64 kB / 0.9013 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1707, allocations: 1.347 MB / 0.9026 GB, free: 61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.355e-05/0.1708, allocations: 0.6848 MB / 0.9033 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.069e-05/0.1709, allocations: 11.89 kB / 0.9033 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.1709, allocations: 19.44 kB / 0.9033 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.1709, allocations: 4 kB / 0.9033 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01013/0.1811, allocations: 1.541 MB / 0.9048 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001362/0.1812, allocations: 222 kB / 0.905 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/1.685, allocations: 0 / 0.905 GB, free: 58.63 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)