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.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.338/1.338, allocations: 251.5 MB / 266.7 MB, free: 11.02 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.001098/0.001098, allocations: 171.6 kB / 325.8 MB, free: 2.676 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.489/1.489, allocations: 205 MB / 0.576 GB, free: 20.97 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.0006771/0.0006772, allocations: 82.97 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.000272, allocations: 12.27 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1574, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001173/0.1586, allocations: 1.143 MB / 0.8973 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003133/0.1589, allocations: 145.2 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.159, allocations: 3.938 kB / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.159, allocations: 0 / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/0.1591, allocations: 7.922 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.1592, allocations: 19.98 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.482e-05/0.1593, allocations: 35.92 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.783e-05/0.1594, allocations: 32.19 kB / 0.8976 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.778e-05/0.1594, allocations: 11.94 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.072e-05/0.1595, allocations: 27.84 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1595, allocations: 0 / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-06/0.1595, allocations: 4 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.1595, allocations: 7.984 kB / 0.8976 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.1596, allocations: 19.86 kB / 0.8976 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.09e-05/0.1596, allocations: 39.8 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1596, allocations: 0 / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1596, allocations: 0 / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.1596, allocations: 4 kB / 0.8977 GB, free: 66.54 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.0003539/0.16, allocations: 347.5 kB / 0.898 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.16, allocations: 12.03 kB / 0.898 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.694e-05/0.1601, allocations: 30.75 kB / 0.898 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.262e-05/0.1601, allocations: 4.938 kB / 0.8981 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.024e-05/0.1602, allocations: 180.2 kB / 0.8982 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1602, allocations: 4.375 kB / 0.8982 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.1602, allocations: 4.375 kB / 0.8982 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1604, allocations: 74.2 kB / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1604, allocations: 3.938 kB / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1604, allocations: 0 / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1604, allocations: 4 kB / 0.8983 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.1606, allocations: 63.95 kB / 0.8984 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.1609, allocations: 284.8 kB / 0.8986 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1611, allocations: 78.52 kB / 0.8987 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.35e-05/0.1612, allocations: 32.92 kB / 0.8987 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.1612, allocations: 4 kB / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.034e-05/0.1613, allocations: 34.55 kB / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1613, allocations: 4 kB / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003559/0.1616, allocations: 125.5 kB / 0.8989 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.711e-05/0.1616, allocations: 55.41 kB / 0.899 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.863e-05/0.1617, allocations: 109.8 kB / 0.8991 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.1617, allocations: 25.7 kB / 0.8991 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.484e-05/0.1617, allocations: 92.08 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.1618, allocations: 15.81 kB / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.1618, allocations: 13.72 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.535e-05/0.1618, allocations: 322.8 kB / 0.8995 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.324e-05/0.1619, allocations: 27.98 kB / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.063e-05/0.162, allocations: 27.97 kB / 0.8996 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.1622, allocations: 64.81 kB / 0.8996 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1622, allocations: 4 kB / 0.8996 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002007/0.1624, allocations: 97.58 kB / 0.8997 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.1624, allocations: 4 kB / 0.8997 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.1624, allocations: 0 / 0.8997 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.1624, allocations: 0 / 0.8997 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1625, allocations: 19.98 kB / 0.8997 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.1626, allocations: 0 / 0.8997 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.782e-05/0.1626, allocations: 11.98 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1626, allocations: 4 kB / 0.8998 GB, free: 64.16 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,intLesEquThr.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 5.298e-05/0.1627, allocations: 113.7 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1627, allocations: 7.906 kB / 0.8999 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.1628, allocations: 7.906 kB / 0.8999 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1628, allocations: 4 kB / 0.8999 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.1628, allocations: 4 kB / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1628, allocations: 0 / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.1629, allocations: 173.6 kB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1629, allocations: 0 / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-05/0.163, allocations: 15.98 kB / 0.9001 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.163, allocations: 3.938 kB / 0.9001 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.163, allocations: 4 kB / 0.9001 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.163, allocations: 0 / 0.9001 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.163, allocations: 4 kB / 0.9001 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.1633, allocations: 195.8 kB / 0.9003 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.1633, allocations: 85 kB / 0.9004 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1633, allocations: 4 kB / 0.9004 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.1634, allocations: 8 kB / 0.9004 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.1635, allocations: 20 kB / 0.9004 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1635, allocations: 3.938 kB / 0.9004 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.161e-05/0.1635, allocations: 83.28 kB / 0.9005 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1635, allocations: 0 / 0.9005 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000196/0.1637, allocations: 12 kB / 0.9005 GB, free: 63.32 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 (intLesEquThr.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.0003704/0.1641, allocations: 0.7288 MB / 0.9012 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.1643, allocations: 67.95 kB / 0.9013 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1643, allocations: 0 / 0.9013 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.83e-05/0.1644, allocations: 39.91 kB / 0.9013 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.1646, allocations: 8 kB / 0.9013 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.1657, allocations: 1.352 MB / 0.9026 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.2e-05/0.1658, allocations: 0.6848 MB / 0.9033 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.156e-05/0.1659, allocations: 11.91 kB / 0.9033 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.1659, allocations: 15.42 kB / 0.9033 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.1659, allocations: 0 / 0.9033 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01032/0.1762, allocations: 1.546 MB / 0.9048 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/0.1764, allocations: 227.6 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/1.662, allocations: 0 / 0.905 GB, free: 58.66 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)