Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0006845/0.0006845, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009595/0.001644, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006896/0.0006896, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009259/0.001615, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9727/0.9727, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09414/1.067, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.927/1.927, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4892/2.416, allocations: 127.1 MB / 0.7432 GB, free: 4.641 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7445 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.285e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001444/0.001466, allocations: 0.8817 MB / 0.7454 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009209/0.002387, allocations: 1.061 MB / 0.7464 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.743e-05/0.002435, allocations: 4 kB / 0.7464 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.623e-05/0.002501, allocations: 12.52 kB / 0.7465 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.226e-05/0.002543, allocations: 26.48 kB / 0.7465 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.002814, allocations: 88.41 kB / 0.7466 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.002953, allocations: 131.1 kB / 0.7467 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.00307, allocations: 33.94 kB / 0.7467 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.003178, allocations: 80.61 kB / 0.7468 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.641e-05/0.003235, allocations: 47.86 kB / 0.7468 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.003256, allocations: 12 kB / 0.7469 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.003402, allocations: 104.7 kB / 0.747 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.003448, allocations: 23.94 kB / 0.747 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.003481, allocations: 32.59 kB / 0.747 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.003656, allocations: 159.4 kB / 0.7472 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.58e-05/0.003672, allocations: 2.156 kB / 0.7472 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003673, allocations: 0 / 0.7472 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.003689, allocations: 0 / 0.7472 GB, free: 0.6367 MB / 0.7136 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.0004581/0.004147, allocations: 387.7 kB / 0.7475 GB, free: 240 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.724e-05/0.004174, allocations: 8.625 kB / 0.7475 GB, free: 232 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.004211, allocations: 12.94 kB / 0.7476 GB, free: 220 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.004346, allocations: 151.8 kB / 0.7477 GB, free: 44 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.004357, allocations: 12.31 kB / 0.7477 GB, free: 32 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.004368, allocations: 5.312 kB / 0.7477 GB, free: 28 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.004584, allocations: 126.6 kB / 0.7478 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.004592, allocations: 192 / 0.7478 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.0046, allocations: 4.969 kB / 0.7478 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.004606, allocations: 0 / 0.7478 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.868e-05/0.004655, allocations: 35.78 kB / 0.7479 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.005019, allocations: 300.1 kB / 0.7482 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.96e-05/0.005088, allocations: 90.34 kB / 0.7482 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.005123, allocations: 28.86 kB / 0.7483 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.797e-05/0.005181, allocations: 4 kB / 0.7483 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.005201, allocations: 33.2 kB / 0.7483 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 1.422e-06/0.005202, allocations: 0 / 0.7483 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0001941/0.005396, allocations: 136.7 kB / 0.7484 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.005427, allocations: 51.41 kB / 0.7485 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.892e-05/0.005506, allocations: 153.7 kB / 0.7486 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.005519, allocations: 25.7 kB / 0.7487 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.005556, allocations: 113.5 kB / 0.7488 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.005598, allocations: 59.42 kB / 0.7488 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.005632, allocations: 33.67 kB / 0.7489 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.96e-05/0.005712, allocations: 337.7 kB / 0.7492 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.247e-05/0.005744, allocations: 22.83 kB / 0.7492 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.313e-05/0.005767, allocations: 16 kB / 0.7492 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.971e-05/0.005837, allocations: 72.38 kB / 0.7493 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005839, allocations: 0 / 0.7493 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001037/0.005943, allocations: 104 kB / 0.7494 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.005957, allocations: 8 kB / 0.7494 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.005969, allocations: 0 / 0.7494 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/0.005978, allocations: 3.781 kB / 0.7494 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.03e-05/0.006068, allocations: 23.97 kB / 0.7494 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.006071, allocations: 0 / 0.7494 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.006117, allocations: 27.83 kB / 0.7494 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.006135, allocations: 4 kB / 0.7494 GB, free: 14.16 MB / 0.7292 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 8.608e-05/0.006221, allocations: 122.8 kB / 0.7496 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.006241, allocations: 8.516 kB / 0.7496 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.006397, allocations: 138.7 kB / 0.7497 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.006402, allocations: 12.66 kB / 0.7497 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.006403, allocations: 0 / 0.7497 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.006406, allocations: 0.5938 kB / 0.7497 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.006533, allocations: 123.1 kB / 0.7498 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.006537, allocations: 0 / 0.7498 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.338e-05/0.0066, allocations: 23.98 kB / 0.7499 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.006615, allocations: 20.83 kB / 0.7499 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.006618, allocations: 3.984 kB / 0.7499 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.006625, allocations: 4 kB / 0.7499 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.006626, allocations: 0.7188 kB / 0.7499 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.006627, allocations: 4 kB / 0.7499 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.006769, allocations: 251.9 kB / 0.7501 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.006781, allocations: 0 / 0.7501 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.97e-05/0.00684, allocations: 21.28 kB / 0.7501 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.006882, allocations: 11.98 kB / 0.7502 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.00689, allocations: 4 kB / 0.7502 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.453e-05/0.006915, allocations: 36.67 kB / 0.7502 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.006915, allocations: 0 / 0.7502 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001627/0.007078, allocations: 45.34 kB / 0.7502 GB, free: 13.3 MB / 0.7292 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.000147/0.007225, allocations: 104.9 kB / 0.7503 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001486/0.007373, allocations: 137.9 kB / 0.7505 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.007383, allocations: 4 kB / 0.7505 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.168e-05/0.007454, allocations: 115.4 kB / 0.7506 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.007622, allocations: 37.72 kB / 0.7506 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.008104, allocations: 301.1 kB / 0.7509 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.396e-05/0.008148, allocations: 83.31 kB / 0.751 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.594e-05/0.008183, allocations: 5.719 kB / 0.751 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.008291, allocations: 67.36 kB / 0.7511 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/0.008292, allocations: 1.156 kB / 0.7511 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of Templates: time 0.00398/0.01227, allocations: 2.1 MB / 0.7531 GB, free: 10.4 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.905062819831073]