Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.481/1.481, allocations: 288.4 MB / 303.6 MB, free: 8.008 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.0008891/0.0008891, allocations: 188.3 kB / 372.3 MB, free: 10.11 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.196/1.196, allocations: 205.4 MB / 0.631 GB, free: 9.934 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.0007216/0.0007216, allocations: 90.3 kB / 0.7444 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 12.75 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1712, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.0007963/0.172, allocations: 414 kB / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008081/0.1729, allocations: 0.8322 MB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.027e-05/0.1729, allocations: 3.938 kB / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.173, allocations: 0 / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.55e-05/0.1731, allocations: 3.938 kB / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.1732, allocations: 11.98 kB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.742e-05/0.1733, allocations: 47.89 kB / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.1734, allocations: 12 kB / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.208e-05/0.1735, allocations: 15.92 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.329e-05/0.1735, allocations: 23.91 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1735, allocations: 3.984 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.1736, allocations: 4 kB / 0.9815 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.1736, allocations: 4 kB / 0.9815 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.1736, allocations: 45.56 kB / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.783e-05/0.1737, allocations: 31.94 kB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1737, allocations: 4 kB / 0.9816 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1737, allocations: 0 / 0.9816 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.1737, allocations: 0 / 0.9816 GB, free: 25.76 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.0004063/0.1741, allocations: 351.7 kB / 0.9819 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1742, allocations: 12.03 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.1742, allocations: 30.75 kB / 0.982 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.1742, allocations: 12.83 kB / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.1743, allocations: 172.3 kB / 0.9822 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1744, allocations: 8.375 kB / 0.9822 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.1744, allocations: 4.375 kB / 0.9822 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.1746, allocations: 74.16 kB / 0.9822 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1746, allocations: 3.938 kB / 0.9823 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1746, allocations: 0 / 0.9823 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1746, allocations: 0 / 0.9823 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.1748, allocations: 67.92 kB / 0.9823 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003488/0.1752, allocations: 288.7 kB / 0.9826 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.1753, allocations: 78.52 kB / 0.9827 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.73e-05/0.1755, allocations: 33.75 kB / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.1755, allocations: 4 kB / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.1755, allocations: 34.56 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1755, allocations: 0 / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003777/0.1759, allocations: 117.6 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.1759, allocations: 59.33 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.016e-05/0.176, allocations: 121.7 kB / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.176, allocations: 25.7 kB / 0.983 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.176, allocations: 88.08 kB / 0.9831 GB, free: 24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.1761, allocations: 11.97 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.1761, allocations: 0 / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.382e-05/0.1761, allocations: 318.8 kB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.857e-05/0.1762, allocations: 31.97 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.559e-05/0.1763, allocations: 31.97 kB / 0.9835 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.1765, allocations: 60.81 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1765, allocations: 0 / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002146/0.1767, allocations: 97.56 kB / 0.9837 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1768, allocations: 7.938 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1768, allocations: 4 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1768, allocations: 0 / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1769, allocations: 15.98 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1769, allocations: 0 / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.12e-05/0.177, allocations: 15.92 kB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.177, allocations: 0 / 0.9837 GB, free: 23.39 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 (intLesThr.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.886e-05/0.1771, allocations: 127.3 kB / 0.9838 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.1771, allocations: 4 kB / 0.9838 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.98e-05/0.1771, allocations: 7.906 kB / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1771, allocations: 0 / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1771, allocations: 0 / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1771, allocations: 0 / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.1773, allocations: 177.6 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1773, allocations: 4 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.381e-05/0.1774, allocations: 11.98 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1774, allocations: 0 / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.1774, allocations: 4 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1774, allocations: 4 kB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1774, allocations: 0 / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.1777, allocations: 199.6 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.1777, allocations: 85.11 kB / 0.9843 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.1777, allocations: 3.938 kB / 0.9843 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.796e-05/0.1778, allocations: 11.98 kB / 0.9843 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.1779, allocations: 11.98 kB / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.1779, allocations: 0 / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.489e-05/0.1779, allocations: 87.27 kB / 0.9844 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1779, allocations: 0 / 0.9844 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001951/0.1781, allocations: 8 kB / 0.9844 GB, free: 22.57 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 (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 (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.0003979/0.1785, allocations: 0.7357 MB / 0.9851 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.1787, allocations: 63.94 kB / 0.9852 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1787, allocations: 3.938 kB / 0.9852 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.911e-05/0.1789, allocations: 39.97 kB / 0.9852 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.1791, allocations: 10.86 kB / 0.9852 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007429/0.1799, allocations: 499.9 kB / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.484e-05/0.18, allocations: 0.6809 MB / 0.9864 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.813e-05/0.18, allocations: 4 kB / 0.9864 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.632e-05/0.1801, allocations: 19.42 kB / 0.9864 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of SimCode: time 2.9e-07/0.1801, allocations: 0 / 0.9864 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3678/0.5479, allocations: 1.516 MB / 0.9879 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.5481, allocations: 209.1 kB / 0.9881 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/2.121, allocations: 4.062 kB / 0.9881 GB, free: 18.83 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)