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.001341/0.001341, allocations: 115.1 kB / 19.7 MB, free: 2.203 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.001421/0.001421, allocations: 219.2 kB / 23 MB, free: 5.074 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.597/1.597, allocations: 230.6 MB / 256.8 MB, free: 8.066 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.9987/0.9987, allocations: 150 MB / 463.2 MB, free: 10.59 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.002021/0.002021, allocations: 69.89 kB / 0.6413 GB, free: 10.66 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2121, allocations: 89.17 MB / 0.7284 GB, free: 1.566 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002081/0.2142, allocations: 0.8201 MB / 0.7292 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.2155, allocations: 0.9172 MB / 0.7301 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.519e-05/0.2156, allocations: 3.938 kB / 0.7301 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.2157, allocations: 15.8 kB / 0.7301 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.741e-05/0.2158, allocations: 11.88 kB / 0.7301 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.216, allocations: 39.89 kB / 0.7302 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.2161, allocations: 67.84 kB / 0.7302 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.2162, allocations: 23.98 kB / 0.7302 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.2163, allocations: 43.78 kB / 0.7303 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.544e-05/0.2164, allocations: 31.84 kB / 0.7303 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.2164, allocations: 4 kB / 0.7303 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.911e-05/0.2165, allocations: 8 kB / 0.7303 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.2165, allocations: 15.94 kB / 0.7303 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.2165, allocations: 27.8 kB / 0.7304 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.2167, allocations: 87.61 kB / 0.7305 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2167, allocations: 0 / 0.7305 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2167, allocations: 0 / 0.7305 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2167, allocations: 0 / 0.7305 GB, free: 15.45 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.0005327/0.2172, allocations: 326 kB / 0.7308 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2173, allocations: 15.97 kB / 0.7308 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.2173, allocations: 30.75 kB / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.2174, allocations: 24.83 kB / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.2177, allocations: 138.4 kB / 0.731 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.2177, allocations: 384 / 0.731 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.2177, allocations: 12.31 kB / 0.731 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.2179, allocations: 62.23 kB / 0.731 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2179, allocations: 7.875 kB / 0.731 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.2179, allocations: 0 / 0.731 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2179, allocations: 4 kB / 0.731 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.218, allocations: 27.98 kB / 0.7311 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/0.2185, allocations: 295.8 kB / 0.7314 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.2187, allocations: 46.55 kB / 0.7314 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.2187, allocations: 21 kB / 0.7314 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.2187, allocations: 0 / 0.7314 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.2188, allocations: 34.56 kB / 0.7315 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.2188, allocations: 4 kB / 0.7315 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002824/0.219, allocations: 73.66 kB / 0.7315 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.2191, allocations: 55.41 kB / 0.7316 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.2192, allocations: 129.8 kB / 0.7317 GB, free: 14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.2192, allocations: 25.7 kB / 0.7317 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.2193, allocations: 104 kB / 0.7318 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.2193, allocations: 11.94 kB / 0.7318 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.2194, allocations: 21.7 kB / 0.7319 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2195, allocations: 322.8 kB / 0.7322 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.544e-05/0.2196, allocations: 15.98 kB / 0.7322 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.329e-05/0.2196, allocations: 12 kB / 0.7322 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.643e-05/0.2197, allocations: 32.83 kB / 0.7322 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2197, allocations: 0 / 0.7322 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001404/0.2198, allocations: 69.58 kB / 0.7323 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2199, allocations: 8 kB / 0.7323 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2199, allocations: 4 kB / 0.7323 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2199, allocations: 0 / 0.7323 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.2199, allocations: 7.984 kB / 0.7323 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2199, allocations: 3.938 kB / 0.7323 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.886e-05/0.22, allocations: 7.984 kB / 0.7323 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.22, allocations: 7.938 kB / 0.7323 GB, free: 13.32 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 9.609e-05/0.2201, allocations: 117.8 kB / 0.7324 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.2201, allocations: 3.953 kB / 0.7324 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.2202, allocations: 16.34 kB / 0.7325 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2202, allocations: 0 / 0.7325 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2202, allocations: 7.922 kB / 0.7325 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2202, allocations: 0 / 0.7325 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.2204, allocations: 156.7 kB / 0.7326 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2204, allocations: 0 / 0.7326 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.2204, allocations: 7.938 kB / 0.7326 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2204, allocations: 0 / 0.7326 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.2204, allocations: 0 / 0.7326 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2204, allocations: 0 / 0.7326 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2204, allocations: 4 kB / 0.7326 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.2206, allocations: 159.4 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.2206, allocations: 12.31 kB / 0.7328 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.2207, allocations: 0 / 0.7328 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/0.2207, allocations: 7.984 kB / 0.7328 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.2208, allocations: 11.98 kB / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.2208, allocations: 0 / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.227e-05/0.2209, allocations: 117 kB / 0.7329 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2209, allocations: 0 / 0.7329 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000226/0.2211, allocations: 11.94 kB / 0.7329 GB, free: 12.63 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.0005226/0.2216, allocations: 0.6967 MB / 0.7336 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.2218, allocations: 35.98 kB / 0.7336 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2218, allocations: 0 / 0.7336 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.474e-05/0.2218, allocations: 19.92 kB / 0.7337 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.2221, allocations: 10.23 kB / 0.7337 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.2236, allocations: 1.374 MB / 0.735 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.2239, allocations: 0.6924 MB / 0.7357 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.619e-05/0.224, allocations: 4 kB / 0.7357 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.224, allocations: 27.42 kB / 0.7357 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.224, allocations: 0 / 0.7357 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.2535, allocations: 2.108 MB / 0.7378 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.96, allocations: 12.67 kB / 0.7378 GB, free: 7.672 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.020965881001757] Failed to read output from testmodel.py, exit status != 0: 11.069126872000197 11.087411187 10.867438035 Calling exit ...