Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009611/0.0009611, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001077/0.001077, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.018/1.018, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.345/2.345, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sorAsc.u.[0-9,]+.|sorAsc.y.[0-9,]+.|sorDes.y.[0-9,]+.|sorAsc.yIdx.[0-9,]+.|sorDes.yIdx.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sorAsc.u.[0-9,]+.|sorAsc.y.[0-9,]+.|sorDes.y.[0-9,]+.|sorAsc.yIdx.[0-9,]+.|sorDes.yIdx.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.43e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001204/0.001218, allocations: 0.8385 MB / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009729/0.002191, allocations: 1.049 MB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.002239, allocations: 4 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.345e-05/0.002333, allocations: 11.86 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.115e-05/0.002374, allocations: 23.73 kB / 0.8405 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.002692, allocations: 95.75 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.002803, allocations: 131.5 kB / 0.8408 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.002903, allocations: 41.92 kB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.902e-05/0.002982, allocations: 67.88 kB / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.418e-05/0.003036, allocations: 47.88 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.003055, allocations: 8 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.003158, allocations: 95.83 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.11e-05/0.003199, allocations: 35.86 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.003231, allocations: 39.84 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.003406, allocations: 183.3 kB / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003408, allocations: 0 / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003409, allocations: 0 / 0.8412 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.003412, allocations: 0 / 0.8412 GB, free: 11.47 MB / 0.8073 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.0003687/0.00378, allocations: 376 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.003809, allocations: 8.625 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.003839, allocations: 8.938 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.003973, allocations: 150.7 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.003982, allocations: 4.375 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.003995, allocations: 8.375 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.004174, allocations: 122.5 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.00418, allocations: 4.188 kB / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.004189, allocations: 4.375 kB / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.004195, allocations: 4.312 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.919e-05/0.004244, allocations: 36.42 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.004591, allocations: 293.6 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.069e-05/0.004662, allocations: 86.42 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.564e-05/0.004697, allocations: 20.86 kB / 0.8423 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.571e-05/0.004743, allocations: 11.98 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.004764, allocations: 34.56 kB / 0.8424 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=25): time 9.42e-07/0.004764, allocations: 0 / 0.8424 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25): time 0.0001828/0.004947, allocations: 137.3 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.004979, allocations: 55.41 kB / 0.8426 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.418e-05/0.005063, allocations: 154 kB / 0.8427 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.005076, allocations: 29.7 kB / 0.8427 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.00511, allocations: 104.5 kB / 0.8428 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.00515, allocations: 67.38 kB / 0.8429 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.005186, allocations: 41.61 kB / 0.8429 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.781e-05/0.005264, allocations: 326.8 kB / 0.8432 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/0.005294, allocations: 26.81 kB / 0.8433 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-05/0.005318, allocations: 16 kB / 0.8433 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.275e-05/0.00539, allocations: 81.91 kB / 0.8434 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.005392, allocations: 0 / 0.8434 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001004/0.005492, allocations: 101.5 kB / 0.8435 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/0.005502, allocations: 4 kB / 0.8435 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.005512, allocations: 4 kB / 0.8435 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.005523, allocations: 4 kB / 0.8435 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.371e-05/0.005596, allocations: 15.98 kB / 0.8435 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.0056, allocations: 4.234 kB / 0.8435 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.005645, allocations: 27.86 kB / 0.8435 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.005661, allocations: 8 kB / 0.8435 GB, free: 8.98 MB / 0.8073 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 6.68e-05/0.005727, allocations: 118.3 kB / 0.8436 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.005747, allocations: 15.98 kB / 0.8437 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.005889, allocations: 142.7 kB / 0.8438 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.005891, allocations: 0 / 0.8438 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.005892, allocations: 0 / 0.8438 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005895, allocations: 0 / 0.8438 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.006003, allocations: 125.7 kB / 0.8439 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.006006, allocations: 0 / 0.8439 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.013e-05/0.006056, allocations: 23.92 kB / 0.8439 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.006057, allocations: 0 / 0.8439 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-06/0.006063, allocations: 0 / 0.8439 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.006063, allocations: 0 / 0.8439 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.006064, allocations: 0 / 0.8439 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.006196, allocations: 260.3 kB / 0.8442 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.006208, allocations: 19.78 kB / 0.8442 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.006219, allocations: 0 / 0.8442 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.568e-05/0.006275, allocations: 19.98 kB / 0.8442 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.006313, allocations: 19.97 kB / 0.8442 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.006318, allocations: 0 / 0.8442 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.175e-05/0.00634, allocations: 28.83 kB / 0.8443 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.00634, allocations: 0 / 0.8443 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001442/0.006484, allocations: 47.94 kB / 0.8443 GB, free: 8.125 MB / 0.8073 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.0001162/0.0066, allocations: 112.3 kB / 0.8444 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.006732, allocations: 136.2 kB / 0.8445 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.006734, allocations: 0 / 0.8445 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.886e-05/0.006803, allocations: 108.2 kB / 0.8447 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.006947, allocations: 23.97 kB / 0.8447 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.007263, allocations: 295.1 kB / 0.845 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.339e-05/0.007307, allocations: 85.92 kB / 0.845 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.569e-05/0.007333, allocations: 4 kB / 0.845 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.989e-05/0.007402, allocations: 67.36 kB / 0.8451 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of SimCode: time 8.72e-07/0.007403, allocations: 0 / 0.8451 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of Templates: time 0.003275/0.01068, allocations: 2.059 MB / 0.8471 GB, free: 5.195 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.226504940073937]