Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00154/0.00154, allocations: 108.2 kB / 19.71 MB, free: 2.145 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.001952/0.001952, allocations: 207.5 kB / 23 MB, free: 4.977 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.592/1.592, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.349/3.349, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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="mat",numberOfIntervals=2500,variableFilter="time|sorAsc.u.1.|sorAsc.u.2.|sorAsc.u.3.|sorAsc.u.4.|sorAsc.u.5.|sorAsc.y.1.|sorAsc.y.2.|sorAsc.y.3.|sorAsc.y.4.|sorAsc.y.5.|sorDes.y.1.|sorDes.y.2.|sorDes.y.3.|sorDes.y.4.|sorDes.y.5.|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.",fileNamePrefix="Buildings_12_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.1.|sorAsc.u.2.|sorAsc.u.3.|sorAsc.u.4.|sorAsc.u.5.|sorAsc.y.1.|sorAsc.y.2.|sorAsc.y.3.|sorAsc.y.4.|sorAsc.y.5.|sorDes.y.1.|sorDes.y.2.|sorDes.y.3.|sorDes.y.4.|sorDes.y.5.|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.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 300] "Notification: Buildings 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.002117/0.002117, allocations: 66.88 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3963, allocations: 176.1 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.00288/0.3992, allocations: 0.8186 MB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.4009, allocations: 1.038 MB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.401, allocations: 0 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.4011, allocations: 15.86 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.781e-05/0.4012, allocations: 23.72 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.4016, allocations: 87.84 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.4018, allocations: 127.6 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.402, allocations: 37.28 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.418e-05/0.4021, allocations: 51.83 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.4022, allocations: 55.77 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.4022, allocations: 16 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.4024, allocations: 95.84 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.4025, allocations: 39.84 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.175e-05/0.4025, allocations: 47.67 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.4028, allocations: 215 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4028, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4029, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.4029, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 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.0009572/0.4038, allocations: 429.4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.4039, allocations: 8.031 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.4039, allocations: 12.84 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.4041, allocations: 158.8 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.4042, allocations: 8.312 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.4042, allocations: 8.375 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005881/0.4048, allocations: 214 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4048, allocations: 192 / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.4048, allocations: 3.938 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.4048, allocations: 4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007286/0.4055, allocations: 223.7 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009764/0.4065, allocations: 436.1 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.407, allocations: 162.4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.4074, allocations: 132.8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.421e-05/0.4075, allocations: 11.98 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/0.4075, allocations: 34.56 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.914e-06/0.4075, allocations: 0 / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.00148/0.409, allocations: 476.8 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.409, allocations: 63.33 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.4092, allocations: 149.7 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.4092, allocations: 29.7 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.767e-05/0.4093, allocations: 116.5 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.391e-05/0.4094, allocations: 67.44 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.15e-05/0.4095, allocations: 33.7 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.4097, allocations: 330.8 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/0.4101, allocations: 131.9 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.4104, allocations: 131.9 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007764/0.4112, allocations: 301.9 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4112, allocations: 4 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008168/0.412, allocations: 327.9 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4121, allocations: 11.94 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.4121, allocations: 4 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4121, allocations: 0 / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.4123, allocations: 35.95 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.4123, allocations: 0 / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.4125, allocations: 43.78 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.4125, allocations: 4 kB / 1.334 GB, free: 10.06 MB / 1.029 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.0001566/0.4127, allocations: 143.5 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.4127, allocations: 11.91 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009519/0.4137, allocations: 366.5 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4137, allocations: 0 / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.4137, allocations: 8 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.4137, allocations: 19.78 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.4138, allocations: 0 / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.414, allocations: 27.95 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/0.414, allocations: 15.98 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001045/0.4151, allocations: 441.4 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009502/0.416, allocations: 0.5096 MB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003795/0.4164, allocations: 135.9 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.98e-05/0.4165, allocations: 117.1 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of Backend: time 6.51e-07/0.4165, allocations: 0 / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009475/0.4175, allocations: 311.9 kB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009133/0.4184, allocations: 0.8046 MB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of Templates: time 0.006768/0.4251, allocations: 2.833 MB / 1.339 GB, free: 4.281 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.518531682995672]