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.001544/0.001544, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001592/0.001592, allocations: 216.5 kB / 23.78 MB, free: 4.555 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.567/1.567, allocations: 230.6 MB / 257.6 MB, free: 7.793 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 0.9639/0.9639, allocations: 150 MB / 463.9 MB, free: 10.28 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="cs",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.002048/0.002048, allocations: 65.86 kB / 0.642 GB, free: 9.902 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.2009, allocations: 89.17 MB / 0.7291 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002469/0.2034, allocations: 0.7782 MB / 0.7298 GB, free: 28 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.2048, allocations: 0.9093 MB / 0.7307 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.2049, allocations: 4 kB / 0.7307 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.205, allocations: 15.8 kB / 0.7308 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.823e-05/0.205, allocations: 15.94 kB / 0.7308 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.2053, allocations: 31.89 kB / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.2054, allocations: 71.78 kB / 0.7309 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2055, allocations: 27.98 kB / 0.7309 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.2056, allocations: 31.86 kB / 0.7309 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.2057, allocations: 35.83 kB / 0.731 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.2058, allocations: 4 kB / 0.731 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.693e-05/0.2058, allocations: 8 kB / 0.731 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.2058, allocations: 19.94 kB / 0.731 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.2059, allocations: 19.86 kB / 0.731 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.206, allocations: 95.77 kB / 0.7311 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.206, allocations: 0 / 0.7311 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.206, allocations: 0 / 0.7311 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.2061, allocations: 0 / 0.7311 GB, free: 14.73 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.0005579/0.2066, allocations: 314 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2067, allocations: 12.03 kB / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.514e-05/0.2067, allocations: 192 / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.2067, allocations: 38.75 kB / 0.7314 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.2069, allocations: 24.83 kB / 0.7315 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.2071, allocations: 140.4 kB / 0.7316 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.2072, allocations: 8.375 kB / 0.7316 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.2072, allocations: 384 / 0.7316 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.2073, allocations: 69.92 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.2073, allocations: 0 / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.2073, allocations: 8 kB / 0.7317 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.2074, allocations: 0 / 0.7317 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.2075, allocations: 35.98 kB / 0.7317 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.208, allocations: 279.7 kB / 0.732 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.2082, allocations: 42.56 kB / 0.732 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.637e-05/0.2083, allocations: 25.03 kB / 0.7321 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.2083, allocations: 7.922 kB / 0.7321 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.2083, allocations: 38.5 kB / 0.7321 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.2083, allocations: 4 kB / 0.7321 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.000294/0.2086, allocations: 69.62 kB / 0.7322 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.2087, allocations: 55.41 kB / 0.7322 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.2088, allocations: 136.3 kB / 0.7323 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.2088, allocations: 25.7 kB / 0.7324 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/0.2089, allocations: 100.1 kB / 0.7325 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.2089, allocations: 7.953 kB / 0.7325 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.209, allocations: 21.7 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.2092, allocations: 318.8 kB / 0.7328 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.2092, allocations: 19.98 kB / 0.7328 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.837e-05/0.2093, allocations: 19.92 kB / 0.7328 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.075e-05/0.2094, allocations: 28.84 kB / 0.7329 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2094, allocations: 0 / 0.7329 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001658/0.2095, allocations: 61.64 kB / 0.7329 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.2095, allocations: 8 kB / 0.7329 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2095, allocations: 0 / 0.7329 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2096, allocations: 3.984 kB / 0.7329 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.2096, allocations: 4 kB / 0.7329 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2096, allocations: 4 kB / 0.7329 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.785e-05/0.2097, allocations: 11.92 kB / 0.733 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.2097, allocations: 11.94 kB / 0.733 GB, free: 12.62 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.0001024/0.2098, allocations: 113.8 kB / 0.7331 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.2099, allocations: 7.953 kB / 0.7331 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.2099, allocations: 8.328 kB / 0.7331 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2099, allocations: 0 / 0.7331 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2099, allocations: 0 / 0.7331 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.2099, allocations: 3.938 kB / 0.7331 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.2101, allocations: 152.7 kB / 0.7332 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2101, allocations: 0 / 0.7332 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.2101, allocations: 4 kB / 0.7332 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2101, allocations: 0 / 0.7332 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.2102, allocations: 0 / 0.7332 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2102, allocations: 0 / 0.7332 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.2102, allocations: 3.984 kB / 0.7332 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.2104, allocations: 159.4 kB / 0.7334 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.2104, allocations: 19.81 kB / 0.7334 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.2104, allocations: 8 kB / 0.7334 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.2105, allocations: 15.98 kB / 0.7334 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.2106, allocations: 7.984 kB / 0.7334 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.2106, allocations: 8.25 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.935e-05/0.2107, allocations: 107.2 kB / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2107, allocations: 0 / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002247/0.2109, allocations: 4 kB / 0.7336 GB, free: 11.93 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.000579/0.2115, allocations: 0.7007 MB / 0.7342 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001814/0.2117, allocations: 39.92 kB / 0.7343 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2117, allocations: 0 / 0.7343 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.134e-05/0.2117, allocations: 15.98 kB / 0.7343 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.212, allocations: 7.938 kB / 0.7343 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.2136, allocations: 1.379 MB / 0.7357 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.498e-05/0.2137, allocations: 83.27 kB / 0.7357 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.768e-05/0.2137, allocations: 0 / 0.7357 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.965e-05/0.2138, allocations: 27.42 kB / 0.7358 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.2138, allocations: 0 / 0.7358 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.2365, allocations: 2.215 MB / 0.7379 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.56, allocations: 3.5 kB / 0.7379 GB, free: 7.508 MB / 0.5606 GB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 15.538828187971376] Failed to read output from testmodel.py, exit status != 0: 11.719000968965702 11.735828666 11.526388076 Calling exit ...