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.001331/0.001331, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002293/0.002293, allocations: 211.6 kB / 22.99 MB, free: 4.605 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.569/1.569, allocations: 230.6 MB / 256.8 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 1.038/1.038, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 178] 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.002408/0.002408, allocations: 62.34 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2244, allocations: 89.18 MB / 0.7282 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002736/0.2271, allocations: 0.7723 MB / 0.729 GB, free: 220 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.2287, allocations: 0.9094 MB / 0.7299 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.2289, allocations: 3.938 kB / 0.7299 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.229, allocations: 7.875 kB / 0.7299 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.2291, allocations: 23.84 kB / 0.7299 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.2294, allocations: 27.91 kB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.2296, allocations: 67.84 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.2297, allocations: 27.98 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.2299, allocations: 39.78 kB / 0.73 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.054e-05/0.23, allocations: 31.8 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.23, allocations: 4 kB / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.001e-05/0.23, allocations: 8 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.2301, allocations: 19.92 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.94e-05/0.2301, allocations: 19.86 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.2303, allocations: 95.83 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2303, allocations: 3.938 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2303, allocations: 0 / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.2303, allocations: 0 / 0.7302 GB, free: 14.92 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.0006124/0.2309, allocations: 318 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.231, allocations: 8.031 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.2311, allocations: 34.75 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.2312, allocations: 24.83 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.2315, allocations: 134.4 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.2316, allocations: 4.375 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.2316, allocations: 4.375 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.2317, allocations: 66.17 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.2318, allocations: 7.938 kB / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.2318, allocations: 8 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2318, allocations: 0 / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.2319, allocations: 31.97 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.2324, allocations: 283.7 kB / 0.7311 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.2326, allocations: 46.55 kB / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.028e-05/0.2327, allocations: 20.92 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.2327, allocations: 0 / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.2328, allocations: 38.64 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.2328, allocations: 0 / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002816/0.233, allocations: 73.66 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.2331, allocations: 51.41 kB / 0.7313 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.2332, allocations: 135.9 kB / 0.7314 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.2333, allocations: 29.7 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/0.2333, allocations: 100.1 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.2334, allocations: 7.891 kB / 0.7316 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.2334, allocations: 21.72 kB / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.2336, allocations: 326.8 kB / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-05/0.2336, allocations: 12 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.197e-05/0.2337, allocations: 19.92 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.32e-05/0.2338, allocations: 28.78 kB / 0.732 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2338, allocations: 4 kB / 0.732 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001617/0.234, allocations: 65.91 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.234, allocations: 4 kB / 0.732 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.234, allocations: 4.047 kB / 0.732 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.234, allocations: 7.984 kB / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.037e-05/0.2341, allocations: 4 kB / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.2341, allocations: 3.984 kB / 0.7321 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.341e-05/0.2342, allocations: 4 kB / 0.7321 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.2342, allocations: 7.922 kB / 0.7321 GB, free: 12.82 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.0001187/0.2343, allocations: 117.8 kB / 0.7322 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.2343, allocations: 3.953 kB / 0.7322 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.2344, allocations: 12.34 kB / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.2344, allocations: 4 kB / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2344, allocations: 0 / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2344, allocations: 0 / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.2346, allocations: 156.6 kB / 0.7324 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2346, allocations: 0 / 0.7324 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.2346, allocations: 3.984 kB / 0.7324 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2346, allocations: 4 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.2346, allocations: 0 / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2346, allocations: 0 / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2346, allocations: 0 / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.2348, allocations: 159.4 kB / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.2349, allocations: 15.95 kB / 0.7325 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.2349, allocations: 0 / 0.7325 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.235, allocations: 15.98 kB / 0.7325 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.235, allocations: 3.984 kB / 0.7325 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.2351, allocations: 7.984 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.401e-05/0.2351, allocations: 109.3 kB / 0.7327 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2351, allocations: 0 / 0.7327 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002367/0.2354, allocations: 15.88 kB / 0.7327 GB, free: 12.13 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.0005611/0.2359, allocations: 0.6968 MB / 0.7334 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.2361, allocations: 31.97 kB / 0.7334 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2361, allocations: 0 / 0.7334 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.097e-05/0.2362, allocations: 19.94 kB / 0.7334 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.2364, allocations: 7.984 kB / 0.7334 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.2381, allocations: 1.381 MB / 0.7348 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.506e-05/0.2382, allocations: 75.27 kB / 0.7348 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.56e-05/0.2382, allocations: 8.031 kB / 0.7348 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.2383, allocations: 27.42 kB / 0.7349 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.2383, allocations: 0 / 0.7349 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.2701, allocations: 2.584 MB / 0.7374 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.32, allocations: 7.516 kB / 0.7374 GB, free: 7.328 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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: 15.437992959748954] Failed to read output from testmodel.py, exit status != 0: 11.430720407981426 11.447282923 11.213752467 Calling exit ...