Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.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.00137/0.00137, 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.001605/0.001605, allocations: 209.1 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.059/1.059, allocations: 149.9 MB / 463 MB, free: 10.33 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.Sort,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sort",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.002221/0.002221, allocations: 67.72 kB / 0.6411 GB, free: 10.06 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.193, allocations: 89.17 MB / 0.7282 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002351/0.1953, allocations: 0.7949 MB / 0.729 GB, free: 172 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.1969, allocations: 1.03 MB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.825e-05/0.197, allocations: 4 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.1971, allocations: 15.8 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.78e-05/0.1971, allocations: 23.8 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.1976, allocations: 87.83 kB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.1978, allocations: 123.6 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.198, allocations: 37.25 kB / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1981, allocations: 51.84 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.1982, allocations: 55.75 kB / 0.7304 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.1982, allocations: 12 kB / 0.7304 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.1984, allocations: 91.86 kB / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.885e-05/0.1985, allocations: 39.84 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.614e-05/0.1986, allocations: 55.64 kB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.199, allocations: 211.3 kB / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.199, allocations: 0 / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.577e-06/0.199, allocations: 0 / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.1991, allocations: 0 / 0.7308 GB, free: 14.33 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.00108/0.2001, allocations: 433.2 kB / 0.7312 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.468e-05/0.2002, allocations: 12.03 kB / 0.7312 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.962e-05/0.2003, allocations: 46.73 kB / 0.7312 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.2003, allocations: 16.84 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.2007, allocations: 150.2 kB / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.2007, allocations: 8.375 kB / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.2007, allocations: 4.375 kB / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006423/0.2013, allocations: 204 kB / 0.7316 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.2014, allocations: 3.938 kB / 0.7316 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.2014, allocations: 4 kB / 0.7316 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.2014, allocations: 4 kB / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007673/0.2022, allocations: 231.6 kB / 0.7318 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.2033, allocations: 479.3 kB / 0.7323 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/0.2037, allocations: 154.5 kB / 0.7324 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004458/0.2042, allocations: 140.7 kB / 0.7326 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.931e-05/0.2042, allocations: 8 kB / 0.7326 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.2043, allocations: 34.56 kB / 0.7326 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 1.753e-06/0.2043, allocations: 0 / 0.7326 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25): time 0.001522/0.2058, allocations: 480.6 kB / 0.7331 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.2058, allocations: 59.34 kB / 0.7331 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.206, allocations: 149.7 kB / 0.7333 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.206, allocations: 25.7 kB / 0.7333 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/0.2061, allocations: 116.5 kB / 0.7334 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.605e-05/0.2062, allocations: 63.44 kB / 0.7335 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-05/0.2063, allocations: 37.7 kB / 0.7335 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.2065, allocations: 326.8 kB / 0.7338 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.2069, allocations: 131.9 kB / 0.7339 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.2072, allocations: 131.9 kB / 0.7341 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008205/0.2081, allocations: 296.6 kB / 0.7343 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2081, allocations: 4 kB / 0.7343 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009007/0.209, allocations: 335.4 kB / 0.7347 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.209, allocations: 11.94 kB / 0.7347 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.209, allocations: 4 kB / 0.7347 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.209, allocations: 0 / 0.7347 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.2093, allocations: 39.88 kB / 0.7347 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2093, allocations: 4 kB / 0.7347 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.2095, allocations: 35.86 kB / 0.7348 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.2095, allocations: 11.98 kB / 0.7348 GB, free: 10.04 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: 10 (sorDes.yIdx[5],sorDes.yIdx[4],sorDes.yIdx[3],sorDes.yIdx[2],sorDes.yIdx[1],sorAsc.yIdx[5],sorAsc.yIdx[4],sorAsc.yIdx[3],sorAsc.yIdx[2],sorAsc.yIdx[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002196/0.2097, allocations: 133.8 kB / 0.7349 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.2098, allocations: 11.91 kB / 0.7349 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.2108, allocations: 376 kB / 0.7353 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.2108, allocations: 7.938 kB / 0.7353 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.2108, allocations: 7.938 kB / 0.7353 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2108, allocations: 0 / 0.7353 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.2112, allocations: 228.6 kB / 0.7355 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.2112, allocations: 0 / 0.7355 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.2114, allocations: 39.95 kB / 0.7355 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2114, allocations: 0 / 0.7355 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.2114, allocations: 0 / 0.7355 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.2114, allocations: 3.938 kB / 0.7355 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2114, allocations: 4 kB / 0.7355 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009155/0.2123, allocations: 436 kB / 0.736 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.338e-05/0.2123, allocations: 15.84 kB / 0.736 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.2124, allocations: 4 kB / 0.736 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.2126, allocations: 31.89 kB / 0.736 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.2128, allocations: 15.97 kB / 0.736 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.2128, allocations: 4 kB / 0.736 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.478e-05/0.2129, allocations: 115.3 kB / 0.7361 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2129, allocations: 0 / 0.7361 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003025/0.2132, allocations: 39.92 kB / 0.7362 GB, free: 8.516 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: 10 (sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001386/0.2146, allocations: 0.9933 MB / 0.7372 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009663/0.2155, allocations: 367.1 kB / 0.7375 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.2155, allocations: 4 kB / 0.7375 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004853/0.216, allocations: 215.2 kB / 0.7377 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.2164, allocations: 30.27 kB / 0.7377 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003842/0.2202, allocations: 2.341 MB / 0.74 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.2203, allocations: 118.8 kB / 0.7401 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.98e-05/0.2204, allocations: 15.98 kB / 0.7402 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.524e-05/0.2205, allocations: 43.42 kB / 0.7402 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of SimCode: time 7.42e-07/0.2205, allocations: 0 / 0.7402 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.2533, allocations: 4.599 MB / 0.7447 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.73, allocations: 13.05 kB / 0.7447 GB, free: 15.8 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Sort.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.828672951087356] Failed to read output from testmodel.py, exit status != 0: 11.843617662787437 11.872372167 11.668012964 Calling exit ...