Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.476/1.476, allocations: 287.4 MB / 302.6 MB, free: 8.305 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.0009233/0.0009233, allocations: 191.6 kB / 371.1 MB, free: 10.81 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.254/1.254, allocations: 205.4 MB / 0.6298 GB, free: 10.51 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.0007345/0.0007345, allocations: 101.8 kB / 0.7431 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003532, allocations: 12.64 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1628, allocations: 115.3 MB / 0.9788 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0006997/0.1635, allocations: 413.8 kB / 0.9791 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007021/0.1642, allocations: 0.8244 MB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.1643, allocations: 0 / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.304e-05/0.1643, allocations: 3.938 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.269e-05/0.1644, allocations: 0 / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001092/0.1645, allocations: 31.91 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.854e-05/0.1646, allocations: 39.86 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.052e-05/0.1647, allocations: 11.98 kB / 0.98 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.932e-05/0.1647, allocations: 19.92 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.137e-05/0.1648, allocations: 23.91 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.1648, allocations: 0 / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.062e-05/0.1648, allocations: 4 kB / 0.9801 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.1648, allocations: 11.98 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.798e-05/0.1648, allocations: 33.64 kB / 0.9801 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.089e-05/0.1649, allocations: 23.94 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1649, allocations: 0 / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1649, allocations: 0 / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.1649, allocations: 0 / 0.9801 GB, free: 26.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003631/0.1653, allocations: 359.7 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1653, allocations: 8.031 kB / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.1654, allocations: 34.75 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.173e-05/0.1654, allocations: 8.844 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.87e-05/0.1655, allocations: 172.3 kB / 0.9807 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1655, allocations: 12.31 kB / 0.9807 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.1655, allocations: 384 / 0.9807 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1657, allocations: 70.22 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.1657, allocations: 7.875 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.1657, allocations: 4 kB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1657, allocations: 4 kB / 0.9808 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.1659, allocations: 55.95 kB / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.1663, allocations: 292.7 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.1664, allocations: 74.47 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.489e-05/0.1666, allocations: 36.91 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.1666, allocations: 8 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.207e-05/0.1666, allocations: 30.56 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1666, allocations: 0 / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003627/0.167, allocations: 117.6 kB / 0.9814 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.936e-05/0.167, allocations: 55.41 kB / 0.9814 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.612e-05/0.1671, allocations: 113.8 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.1671, allocations: 25.7 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.1671, allocations: 96.08 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.1671, allocations: 11.89 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.1671, allocations: 0 / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.623e-05/0.1672, allocations: 322.8 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.022e-05/0.1673, allocations: 27.97 kB / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-05/0.1674, allocations: 27.98 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.1675, allocations: 60.81 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1676, allocations: 4 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002004/0.1678, allocations: 101.5 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.1678, allocations: 4 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1678, allocations: 0 / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1678, allocations: 0 / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1679, allocations: 19.92 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1679, allocations: 0 / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.168, allocations: 15.92 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.168, allocations: 0 / 0.9822 GB, free: 24.23 MB / 0.6198 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 (intLesEquThr.y,reaToInt.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.44e-05/0.1681, allocations: 125.8 kB / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.1681, allocations: 0 / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.801e-05/0.1681, allocations: 7.906 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1681, allocations: 4 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1681, allocations: 0 / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1682, allocations: 3.984 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.1683, allocations: 169.6 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1683, allocations: 0 / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.14e-05/0.1684, allocations: 19.98 kB / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1684, allocations: 7.938 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.1684, allocations: 3.984 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1684, allocations: 0 / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1684, allocations: 4 kB / 0.9826 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.1686, allocations: 199.3 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.1687, allocations: 77.48 kB / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.1687, allocations: 4 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.119e-05/0.1688, allocations: 7.984 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.1688, allocations: 11.98 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1688, allocations: 7.984 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.214e-05/0.1689, allocations: 87.22 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1689, allocations: 4 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000182/0.1691, allocations: 8 kB / 0.983 GB, free: 23.4 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: 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 (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.0003645/0.1694, allocations: 0.7364 MB / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.1696, allocations: 59.95 kB / 0.9837 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1696, allocations: 0 / 0.9837 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.707e-05/0.1697, allocations: 39.97 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.17, allocations: 8 kB / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000738/0.1707, allocations: 486.3 kB / 0.9842 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.936e-05/0.1708, allocations: 0.6848 MB / 0.9849 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.328e-05/0.1709, allocations: 4 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.1709, allocations: 19.42 kB / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1709, allocations: 3.938 kB / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0101/0.181, allocations: 1.515 MB / 0.9864 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00013/0.1812, allocations: 208.6 kB / 0.9866 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.359/1.54, allocations: 0 / 0.9866 GB, free: 19.69 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)