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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 115 kB / 19.7 MB, free: 2.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 225.4 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.014/1.014, allocations: 150 MB / 463.2 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.202, allocations: 89.18 MB / 0.7284 GB, free: 1.191 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002225/0.2042, allocations: 0.8137 MB / 0.7292 GB, free: 388 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.2056, allocations: 0.9171 MB / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.844e-05/0.2057, allocations: 0 / 0.7301 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.2058, allocations: 15.81 kB / 0.7301 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.744e-05/0.2058, allocations: 11.88 kB / 0.7301 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.206, allocations: 31.95 kB / 0.7301 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.2062, allocations: 75.78 kB / 0.7302 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.2063, allocations: 19.98 kB / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.2065, allocations: 39.84 kB / 0.7303 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.649e-05/0.2065, allocations: 31.84 kB / 0.7303 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.2066, allocations: 4 kB / 0.7303 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.787e-05/0.2066, allocations: 15.94 kB / 0.7303 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.2066, allocations: 15.92 kB / 0.7303 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.2067, allocations: 27.81 kB / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.2068, allocations: 87.88 kB / 0.7305 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.2069, allocations: 4 kB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2069, allocations: 3.938 kB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2069, allocations: 0 / 0.7305 GB, free: 15.07 MB / 0.5606 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.0005845/0.2074, allocations: 314 kB / 0.7308 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.2075, allocations: 15.97 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.95e-05/0.2075, allocations: 34.75 kB / 0.7308 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.2077, allocations: 20.83 kB / 0.7308 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.208, allocations: 150.3 kB / 0.731 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.208, allocations: 8.359 kB / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.208, allocations: 4.375 kB / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.2081, allocations: 62.23 kB / 0.731 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2082, allocations: 3.938 kB / 0.731 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.2082, allocations: 0 / 0.731 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2082, allocations: 0 / 0.731 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.2083, allocations: 35.97 kB / 0.7311 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.2088, allocations: 291.7 kB / 0.7314 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.209, allocations: 50.59 kB / 0.7314 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.515e-05/0.209, allocations: 21 kB / 0.7314 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.209, allocations: 0 / 0.7314 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.2091, allocations: 30.56 kB / 0.7315 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.2091, allocations: 4 kB / 0.7315 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002563/0.2093, allocations: 73.62 kB / 0.7315 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.2094, allocations: 51.41 kB / 0.7316 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.2095, allocations: 135.7 kB / 0.7317 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.2095, allocations: 25.7 kB / 0.7317 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.2096, allocations: 104 kB / 0.7318 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.2096, allocations: 7.953 kB / 0.7318 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.2096, allocations: 25.7 kB / 0.7319 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2098, allocations: 318.8 kB / 0.7322 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.393e-05/0.2099, allocations: 15.98 kB / 0.7322 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.8e-05/0.2099, allocations: 15.98 kB / 0.7322 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.131e-05/0.21, allocations: 24.84 kB / 0.7322 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.21, allocations: 4 kB / 0.7322 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001383/0.2101, allocations: 61.64 kB / 0.7323 GB, free: 13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2101, allocations: 11.98 kB / 0.7323 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2101, allocations: 4 kB / 0.7323 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2102, allocations: 3.938 kB / 0.7323 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.2102, allocations: 7.938 kB / 0.7323 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2102, allocations: 0 / 0.7323 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-05/0.2103, allocations: 11.98 kB / 0.7323 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.2103, allocations: 15.88 kB / 0.7323 GB, free: 12.95 MB / 0.5606 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.0001505/0.2105, allocations: 113.8 kB / 0.7324 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.2105, allocations: 7.953 kB / 0.7325 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.2105, allocations: 12.33 kB / 0.7325 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2105, allocations: 336 / 0.7325 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2105, allocations: 0 / 0.7325 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2105, allocations: 0 / 0.7325 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.2107, allocations: 156.6 kB / 0.7326 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2107, allocations: 4 kB / 0.7326 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.2108, allocations: 3.984 kB / 0.7326 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2108, allocations: 4 kB / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.2108, allocations: 7.984 kB / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2108, allocations: 0 / 0.7326 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2108, allocations: 4 kB / 0.7326 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.211, allocations: 163.4 kB / 0.7328 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.211, allocations: 11.89 kB / 0.7328 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.211, allocations: 0 / 0.7328 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.2111, allocations: 7.984 kB / 0.7328 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.2112, allocations: 11.98 kB / 0.7328 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.2112, allocations: 4 kB / 0.7328 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.492e-05/0.2113, allocations: 113.3 kB / 0.7329 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2113, allocations: 0 / 0.7329 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002353/0.2115, allocations: 8 kB / 0.7329 GB, free: 12.25 MB / 0.5606 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.0005328/0.212, allocations: 0.6929 MB / 0.7336 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.2122, allocations: 35.92 kB / 0.7337 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2122, allocations: 0 / 0.7337 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.396e-05/0.2123, allocations: 15.98 kB / 0.7337 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.2125, allocations: 8 kB / 0.7337 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.2141, allocations: 1.378 MB / 0.735 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.2144, allocations: 0.6945 MB / 0.7357 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.108e-05/0.2145, allocations: 7.984 kB / 0.7357 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.2145, allocations: 23.38 kB / 0.7357 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of SimCode: time 4.6e-07/0.2145, allocations: 0 / 0.7357 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.2441, allocations: 2.105 MB / 0.7378 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.03, allocations: 11.56 kB / 0.7378 GB, free: 7.301 MB / 0.5606 GB " [Timeout remaining time 649] (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: 14.949699420016259] Failed to read output from testmodel.py, exit status != 0: 11.15316726709716 11.171841735 10.961671722 Calling exit ...