Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 193.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.547/1.547, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00131/0.001311, allocations: 72.41 kB / 0.6716 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1745, allocations: 114.5 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001889/0.1765, allocations: 0.7082 MB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008325/0.1773, allocations: 0.832 MB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.708e-05/0.1774, allocations: 0 / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.1774, allocations: 3.938 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.449e-05/0.1775, allocations: 11.88 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.1776, allocations: 27.95 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.469e-05/0.1777, allocations: 43.86 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.117e-05/0.1778, allocations: 19.98 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/0.1779, allocations: 19.92 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.527e-05/0.1779, allocations: 23.91 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.1779, allocations: 4 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.178, allocations: 8 kB / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.178, allocations: 7.984 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.178, allocations: 23.86 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.783e-05/0.1781, allocations: 39.86 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1781, allocations: 4 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.265e-06/0.1781, allocations: 0 / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.1781, allocations: 3.938 kB / 0.7852 GB, free: 11.55 MB / 0.6075 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.0004316/0.1786, allocations: 359.6 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.1786, allocations: 8.031 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.1786, allocations: 38.73 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.1787, allocations: 0.9375 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.1788, allocations: 172.2 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1788, allocations: 12.31 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.1788, allocations: 4.375 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.179, allocations: 62.22 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.179, allocations: 3.938 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.1791, allocations: 4 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.1791, allocations: 0 / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.1793, allocations: 55.88 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.1796, allocations: 288.8 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.1798, allocations: 58.55 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.1799, allocations: 36.91 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.1799, allocations: 0 / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.18, allocations: 38.5 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.18, allocations: 0 / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003753/0.1804, allocations: 105.5 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.1804, allocations: 59.39 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.614e-05/0.1805, allocations: 105.9 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1805, allocations: 29.69 kB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.1805, allocations: 88.14 kB / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.1806, allocations: 11.81 kB / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.1806, allocations: 21.7 kB / 0.7867 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.1807, allocations: 314.8 kB / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-05/0.1808, allocations: 19.98 kB / 0.787 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.054e-05/0.1809, allocations: 32.08 kB / 0.7871 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.1811, allocations: 60.81 kB / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1811, allocations: 0 / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002219/0.1813, allocations: 81.58 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.1813, allocations: 8 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.1813, allocations: 0 / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1813, allocations: 0 / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1815, allocations: 11.98 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1815, allocations: 4 kB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.094e-05/0.1815, allocations: 15.92 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.1816, allocations: 4 kB / 0.7872 GB, free: 9.246 MB / 0.6075 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 6.509e-05/0.1816, allocations: 118.3 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.1817, allocations: 7.906 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.1817, allocations: 7.906 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1817, allocations: 0 / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1817, allocations: 0 / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1817, allocations: 0 / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.1819, allocations: 181.6 kB / 0.7875 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1819, allocations: 0 / 0.7875 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.264e-05/0.182, allocations: 15.98 kB / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.182, allocations: 0 / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.182, allocations: 4 kB / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.182, allocations: 0 / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.182, allocations: 3.984 kB / 0.7876 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.1822, allocations: 187.4 kB / 0.7877 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.1823, allocations: 85 kB / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.1823, allocations: 0 / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.523e-05/0.1824, allocations: 4 kB / 0.7878 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.1825, allocations: 11.98 kB / 0.7878 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.1825, allocations: 7.984 kB / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.722e-05/0.1825, allocations: 83.28 kB / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1825, allocations: 0 / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002156/0.1827, allocations: 8 kB / 0.7879 GB, free: 8.434 MB / 0.6075 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.0004833/0.1832, allocations: 0.7124 MB / 0.7886 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.1835, allocations: 72.11 kB / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1835, allocations: 0 / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.1836, allocations: 28.06 kB / 0.7887 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.1839, allocations: 8.094 kB / 0.7887 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.1852, allocations: 1.323 MB / 0.79 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000183/0.1854, allocations: 0.6845 MB / 0.7907 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.1854, allocations: 0 / 0.7907 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.1855, allocations: 23.42 kB / 0.7907 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of SimCode: time 1.322e-06/0.1855, allocations: 0 / 0.7907 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7648/0.9503, allocations: 1.816 MB / 0.7925 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.332/8.282, allocations: 19.8 kB / 0.7925 GB, free: 3.715 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)