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.001353/0.001353, allocations: 113 kB / 17.12 MB, free: 5.941 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.001503/0.001503, allocations: 208 kB / 20.09 MB, free: 2.992 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.024/1.024, allocations: 150 MB / 459.5 MB, free: 5.293 MB / 350.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.00313/0.00313, allocations: 70.53 kB / 0.6362 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.2004, allocations: 89.13 MB / 0.7232 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002327/0.2027, allocations: 0.8097 MB / 0.724 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.2042, allocations: 0.9229 MB / 0.7249 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.2043, allocations: 4 kB / 0.7249 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.2044, allocations: 15.8 kB / 0.7249 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.732e-05/0.2045, allocations: 11.94 kB / 0.7249 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.2047, allocations: 27.91 kB / 0.725 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.2048, allocations: 79.7 kB / 0.725 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.2049, allocations: 27.97 kB / 0.7251 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.2051, allocations: 27.92 kB / 0.7251 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.826e-05/0.2052, allocations: 31.83 kB / 0.7251 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.2052, allocations: 8 kB / 0.7251 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.727e-05/0.2052, allocations: 15.94 kB / 0.7251 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.2052, allocations: 4 kB / 0.7251 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.213e-05/0.2053, allocations: 39.73 kB / 0.7252 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.2054, allocations: 91.83 kB / 0.7253 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2055, allocations: 0 / 0.7253 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2055, allocations: 0 / 0.7253 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2055, allocations: 0 / 0.7253 GB, free: 1.988 MB / 0.5294 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.0005958/0.2061, allocations: 383.1 kB / 0.7256 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.2061, allocations: 15.97 kB / 0.7257 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.507e-05/0.2061, allocations: 34.75 kB / 0.7257 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.2063, allocations: 24.83 kB / 0.7257 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.2066, allocations: 201.8 kB / 0.7259 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.2066, allocations: 4.375 kB / 0.7259 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.2066, allocations: 8.312 kB / 0.7259 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.2068, allocations: 62.22 kB / 0.726 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2068, allocations: 3.938 kB / 0.726 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2068, allocations: 4 kB / 0.726 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2068, allocations: 4 kB / 0.726 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.2069, allocations: 31.98 kB / 0.726 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/0.2075, allocations: 320.6 kB / 0.7263 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.2076, allocations: 46.56 kB / 0.7264 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.866e-05/0.2077, allocations: 29.03 kB / 0.7264 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.2077, allocations: 0 / 0.7264 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.2077, allocations: 30.56 kB / 0.7264 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.2077, allocations: 0 / 0.7264 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002704/0.208, allocations: 69.62 kB / 0.7265 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.208, allocations: 55.41 kB / 0.7265 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.2082, allocations: 130.9 kB / 0.7267 GB, free: 364 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.2082, allocations: 33.7 kB / 0.7267 GB, free: 324 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.2083, allocations: 104.1 kB / 0.7268 GB, free: 216 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.2083, allocations: 7.953 kB / 0.7268 GB, free: 208 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.2083, allocations: 21.7 kB / 0.7268 GB, free: 180 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2085, allocations: 314.8 kB / 0.7271 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.016e-05/0.2085, allocations: 27.86 kB / 0.7272 GB, free: 15.83 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.861e-05/0.2086, allocations: 15.98 kB / 0.7272 GB, free: 15.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.778e-05/0.2087, allocations: 33.12 kB / 0.7272 GB, free: 15.78 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2087, allocations: 0 / 0.7272 GB, free: 15.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001564/0.2088, allocations: 69.62 kB / 0.7273 GB, free: 15.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.2089, allocations: 8 kB / 0.7273 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2089, allocations: 3.984 kB / 0.7273 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2089, allocations: 0 / 0.7273 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.821e-05/0.2089, allocations: 7.984 kB / 0.7273 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2089, allocations: 3.938 kB / 0.7273 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.713e-05/0.209, allocations: 7.984 kB / 0.7273 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.209, allocations: 15.88 kB / 0.7273 GB, free: 15.66 MB / 0.545 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.163e-05/0.2091, allocations: 113.8 kB / 0.7274 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.2092, allocations: 3.953 kB / 0.7274 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.2092, allocations: 16.23 kB / 0.7274 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2092, allocations: 0 / 0.7274 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.2092, allocations: 0 / 0.7274 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2092, allocations: 0 / 0.7274 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.2094, allocations: 185.6 kB / 0.7276 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2094, allocations: 0 / 0.7276 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.2095, allocations: 4 kB / 0.7276 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2095, allocations: 4 kB / 0.7276 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.2095, allocations: 0 / 0.7276 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2095, allocations: 0 / 0.7276 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2095, allocations: 3.984 kB / 0.7276 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.2097, allocations: 163.4 kB / 0.7278 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.2097, allocations: 85 kB / 0.7279 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.2098, allocations: 8 kB / 0.7279 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2099, allocations: 11.98 kB / 0.7279 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.2099, allocations: 7.984 kB / 0.7279 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.2099, allocations: 0 / 0.7279 GB, free: 14.97 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.192e-05/0.21, allocations: 108.9 kB / 0.728 GB, free: 14.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.21, allocations: 0 / 0.728 GB, free: 14.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002254/0.2102, allocations: 8 kB / 0.728 GB, free: 14.86 MB / 0.545 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.0005858/0.2108, allocations: 0.6968 MB / 0.7287 GB, free: 14.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001579/0.211, allocations: 35.92 kB / 0.7287 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.211, allocations: 3.938 kB / 0.7287 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.857e-05/0.211, allocations: 15.98 kB / 0.7287 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.2113, allocations: 8 kB / 0.7287 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.213, allocations: 1.387 MB / 0.7301 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.2134, allocations: 0.6885 MB / 0.7308 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.85e-05/0.2134, allocations: 4 kB / 0.7308 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.175e-05/0.2135, allocations: 27.42 kB / 0.7308 GB, free: 11.86 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.2135, allocations: 4 kB / 0.7308 GB, free: 11.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.2412, allocations: 2.007 MB / 0.7328 GB, free: 9.961 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.187/8.428, allocations: 8.031 kB / 0.7328 GB, free: 9.957 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.430796391097829] Failed to read output from testmodel.py, exit status != 0: 8.495705862995237 8.511709829 8.303077549 Calling exit ...