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.001035/0.001035, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001703/0.002738, allocations: 449.8 kB / 10.44 MB, free: 252 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.001067/0.001067, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001473/0.00254, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.029/1.029, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09196/1.12, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.976/1.976, allocations: 390 MB / 0.6194 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5001/2.476, allocations: 127.1 MB / 0.7435 GB, free: 4.535 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 2.515e-06/2.515e-06, allocations: 0 / 0.7449 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.582e-05, allocations: 2.312 kB / 0.7449 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002802/0.002828, allocations: 0.8753 MB / 0.7457 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.004249, allocations: 1.059 MB / 0.7468 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.004312, allocations: 5.281 kB / 0.7468 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.429e-05/0.004396, allocations: 16.84 kB / 0.7468 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.577e-05/0.004462, allocations: 20.58 kB / 0.7468 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003845/0.004846, allocations: 88.41 kB / 0.7469 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.005037, allocations: 128.8 kB / 0.747 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.005198, allocations: 46.42 kB / 0.7471 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.005369, allocations: 80.61 kB / 0.7471 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.618e-05/0.005456, allocations: 49.84 kB / 0.7472 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.005486, allocations: 12 kB / 0.7472 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.005705, allocations: 91.91 kB / 0.7473 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.379e-05/0.005769, allocations: 35.86 kB / 0.7473 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.005814, allocations: 31.88 kB / 0.7473 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.006076, allocations: 145.9 kB / 0.7475 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-05/0.006091, allocations: 4 kB / 0.7475 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/0.006093, allocations: 0 / 0.7475 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.006109, allocations: 0 / 0.7475 GB, free: 0.5195 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.0006419/0.006751, allocations: 391.7 kB / 0.7479 GB, free: 116 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.006787, allocations: 9.844 kB / 0.7479 GB, free: 108 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.006841, allocations: 16.92 kB / 0.7479 GB, free: 92 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.007172, allocations: 149.5 kB / 0.748 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.007186, allocations: 8.375 kB / 0.748 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.007206, allocations: 5.188 kB / 0.748 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.007497, allocations: 132.9 kB / 0.7482 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.007508, allocations: 4.172 kB / 0.7482 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.00752, allocations: 3.938 kB / 0.7482 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.007529, allocations: 3.984 kB / 0.7482 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.871e-05/0.007598, allocations: 29.89 kB / 0.7482 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.008143, allocations: 301.6 kB / 0.7485 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.008246, allocations: 83.05 kB / 0.7486 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.79e-05/0.008294, allocations: 29.55 kB / 0.7486 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.554e-05/0.00835, allocations: 4 kB / 0.7486 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.008374, allocations: 31.09 kB / 0.7486 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 1.764e-06/0.008376, allocations: 0.625 kB / 0.7486 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0002654/0.008642, allocations: 136.6 kB / 0.7488 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.008682, allocations: 59.98 kB / 0.7488 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.008785, allocations: 150.6 kB / 0.749 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.0088, allocations: 25.7 kB / 0.749 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.008845, allocations: 108.5 kB / 0.7491 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/0.008902, allocations: 67.41 kB / 0.7492 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.008963, allocations: 34.64 kB / 0.7492 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.009065, allocations: 334.7 kB / 0.7495 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.602e-05/0.009111, allocations: 18.83 kB / 0.7495 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.688e-05/0.009148, allocations: 16.59 kB / 0.7495 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.009253, allocations: 82.28 kB / 0.7496 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.009255, allocations: 0.5938 kB / 0.7496 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001645/0.00942, allocations: 94.33 kB / 0.7497 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.009437, allocations: 4 kB / 0.7497 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.009454, allocations: 4.562 kB / 0.7497 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.00947, allocations: 1.531 kB / 0.7497 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.009602, allocations: 23.97 kB / 0.7497 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.009606, allocations: 0 / 0.7497 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.557e-05/0.009682, allocations: 28.36 kB / 0.7498 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.009704, allocations: 1.406 kB / 0.7498 GB, free: 14.04 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 0.0001097/0.009813, allocations: 132.5 kB / 0.7499 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.009845, allocations: 5.125 kB / 0.7499 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.01007, allocations: 134.8 kB / 0.75 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.01008, allocations: 0 / 0.75 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.01008, allocations: 0.5 kB / 0.75 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01008, allocations: 4.75 kB / 0.75 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.01025, allocations: 117.7 kB / 0.7502 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.01026, allocations: 2 kB / 0.7502 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.01036, allocations: 31.97 kB / 0.7502 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.01038, allocations: 19.8 kB / 0.7502 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.01039, allocations: 0 / 0.7502 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.0104, allocations: 4 kB / 0.7502 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.0104, allocations: 2.75 kB / 0.7502 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.0104, allocations: 0 / 0.7502 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.01063, allocations: 259.9 kB / 0.7505 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.01064, allocations: 0 / 0.7505 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.01074, allocations: 19.92 kB / 0.7505 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.0108, allocations: 11.98 kB / 0.7505 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.01082, allocations: 11.05 kB / 0.7505 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.043e-05/0.01086, allocations: 31.06 kB / 0.7505 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01086, allocations: 0 / 0.7505 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002813/0.01114, allocations: 43.94 kB / 0.7506 GB, free: 13.18 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.0002285/0.01137, allocations: 106.3 kB / 0.7507 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.01157, allocations: 144.7 kB / 0.7508 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.01158, allocations: 4 kB / 0.7508 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.01169, allocations: 108.8 kB / 0.7509 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.01203, allocations: 227.8 kB / 0.7511 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009408/0.01297, allocations: 300.8 kB / 0.7514 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.855e-05/0.01303, allocations: 75.33 kB / 0.7515 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.218e-05/0.01308, allocations: 13.3 kB / 0.7515 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.01319, allocations: 76.14 kB / 0.7516 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of SimCode: time 1.002e-06/0.01319, allocations: 0.625 kB / 0.7516 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of Templates: time 0.005243/0.01844, allocations: 2.099 MB / 0.7536 GB, free: 10.05 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.989156354218721]