Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 104.7 kB / 17.07 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002142/0.002142, allocations: 194.7 kB / 20.03 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.117/1.117, allocations: 147.6 MB / 445.6 MB, free: 8.32 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 64.94 kB / 0.611 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.178, allocations: 83.16 MB / 0.6922 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.00266/0.1807, allocations: 0.8042 MB / 0.6929 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.1822, allocations: 0.8751 MB / 0.6938 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.1823, allocations: 2.031 kB / 0.6938 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.1825, allocations: 9.906 kB / 0.6938 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.816e-05/0.1826, allocations: 11.86 kB / 0.6938 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.1828, allocations: 31.5 kB / 0.6939 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.183, allocations: 80.41 kB / 0.6939 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.1832, allocations: 23.48 kB / 0.694 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.1833, allocations: 35.03 kB / 0.694 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.779e-05/0.1834, allocations: 30.91 kB / 0.694 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.1834, allocations: 8.938 kB / 0.694 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.757e-05/0.1834, allocations: 10 kB / 0.694 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.1835, allocations: 5.438 kB / 0.694 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.1835, allocations: 33.64 kB / 0.6941 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.1837, allocations: 82.05 kB / 0.6941 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1837, allocations: 0 / 0.6941 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1837, allocations: 0 / 0.6941 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.1837, allocations: 0 / 0.6941 GB, free: 11.86 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006803/0.1844, allocations: 393.1 kB / 0.6945 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.1845, allocations: 10.41 kB / 0.6945 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.099e-05/0.1845, allocations: 34.75 kB / 0.6946 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.1846, allocations: 10.27 kB / 0.6946 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.185, allocations: 206.6 kB / 0.6948 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.185, allocations: 2.156 kB / 0.6948 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.185, allocations: 10.2 kB / 0.6948 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.1852, allocations: 62.27 kB / 0.6948 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1852, allocations: 9.75 kB / 0.6949 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1852, allocations: 4 kB / 0.6949 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1852, allocations: 1.781 kB / 0.6949 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1854, allocations: 32.77 kB / 0.6949 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.1859, allocations: 315.2 kB / 0.6952 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.1861, allocations: 52.31 kB / 0.6952 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.434e-05/0.1862, allocations: 25.67 kB / 0.6953 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.1862, allocations: 0 / 0.6953 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.1863, allocations: 32.16 kB / 0.6953 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1863, allocations: 0 / 0.6953 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0002926/0.1866, allocations: 74.66 kB / 0.6954 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.1866, allocations: 55.41 kB / 0.6954 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.1868, allocations: 133.2 kB / 0.6955 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.1868, allocations: 31.08 kB / 0.6956 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/0.1869, allocations: 100.2 kB / 0.6957 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.1869, allocations: 5.328 kB / 0.6957 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.187, allocations: 21.83 kB / 0.6957 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1871, allocations: 316.2 kB / 0.696 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.407e-05/0.1872, allocations: 24.23 kB / 0.696 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.982e-05/0.1873, allocations: 16.23 kB / 0.696 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.529e-05/0.1874, allocations: 30.53 kB / 0.6961 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1874, allocations: 0 / 0.6961 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001474/0.1875, allocations: 63.62 kB / 0.6961 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1876, allocations: 5.5 kB / 0.6961 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1876, allocations: 3.984 kB / 0.6961 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1876, allocations: 1.375 kB / 0.6961 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.366e-05/0.1877, allocations: 6.75 kB / 0.6961 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.1877, allocations: 5.375 kB / 0.6961 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.126e-05/0.1878, allocations: 17.38 kB / 0.6962 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1878, allocations: 5.312 kB / 0.6962 GB, free: 9.836 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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 0.0001029/0.1879, allocations: 114 kB / 0.6963 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.1879, allocations: 6.703 kB / 0.6963 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.188, allocations: 14.98 kB / 0.6963 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.188, allocations: 0 / 0.6963 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.188, allocations: 4 kB / 0.6963 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.188, allocations: 5.312 kB / 0.6963 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.1882, allocations: 185.9 kB / 0.6965 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1882, allocations: 0 / 0.6965 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.1883, allocations: 4.125 kB / 0.6965 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1883, allocations: 0 / 0.6965 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.1883, allocations: 5.359 kB / 0.6965 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1883, allocations: 0 / 0.6965 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1883, allocations: 0 / 0.6965 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.1885, allocations: 168 kB / 0.6967 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.1886, allocations: 78.48 kB / 0.6967 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.1886, allocations: 5.375 kB / 0.6967 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.1887, allocations: 9.484 kB / 0.6967 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.1888, allocations: 8.484 kB / 0.6968 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.1888, allocations: 1.375 kB / 0.6968 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.603e-05/0.1889, allocations: 106.7 kB / 0.6969 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1889, allocations: 0 / 0.6969 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002215/0.1891, allocations: 16.2 kB / 0.6969 GB, free: 9.105 MB / 0.5137 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000616/0.1897, allocations: 0.7005 MB / 0.6976 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.1899, allocations: 31.23 kB / 0.6976 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.1899, allocations: 5.375 kB / 0.6976 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.346e-05/0.19, allocations: 17.61 kB / 0.6976 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.1903, allocations: 8.062 kB / 0.6976 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.1921, allocations: 1.387 MB / 0.699 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.1925, allocations: 0.6888 MB / 0.6996 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.55e-05/0.1926, allocations: 7.969 kB / 0.6997 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.1926, allocations: 22.45 kB / 0.6997 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1926, allocations: 0 / 0.6997 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.2177, allocations: 1.984 MB / 0.7016 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.153, allocations: 15.98 kB / 0.7016 GB, free: 4.949 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.09941054112278] Failed to read output from testmodel.py, exit status != 0: 8.517933311872184 8.255917941 8.067687694 Calling exit ...