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.001552/0.001552, allocations: 78.8 kB / 19.76 MB, free: 1.875 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.001602/0.001602, allocations: 160.1 kB / 23.01 MB, free: 4.602 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.466/1.466, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] 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 3.085/3.085, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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.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_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.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_latest_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.002425/0.002425, allocations: 75.88 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.058, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002127/1.06, allocations: 0.8045 MB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001264/1.061, allocations: 1.042 MB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/1.062, allocations: 2.094 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/1.062, allocations: 15.12 kB / 1.188 GB, free: 14.9 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.041e-05/1.062, allocations: 16.89 kB / 1.188 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/1.062, allocations: 95.86 kB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001734/1.062, allocations: 121.9 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/1.063, allocations: 38.39 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.507e-05/1.063, allocations: 56.09 kB / 1.189 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.128e-05/1.063, allocations: 54.25 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/1.063, allocations: 9.875 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/1.063, allocations: 90.91 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.886e-05/1.063, allocations: 43.17 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/1.063, allocations: 48.47 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003273/1.063, allocations: 215.1 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.063, allocations: 1.312 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.703e-06/1.063, allocations: 0 / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.204e-06/1.063, allocations: 0 / 1.189 GB, free: 14.57 MB / 1.076 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.000786/1.064, allocations: 420.8 kB / 1.19 GB, free: 14.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/1.064, allocations: 9.062 kB / 1.19 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/1.064, allocations: 18.95 kB / 1.19 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/1.064, allocations: 153.2 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/1.064, allocations: 7.906 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/1.064, allocations: 4.938 kB / 1.19 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005972/1.065, allocations: 206.4 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.065, allocations: 192 / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/1.065, allocations: 7.938 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/1.065, allocations: 6.469 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008111/1.066, allocations: 226.1 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000863/1.067, allocations: 451.6 kB / 1.191 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004503/1.067, allocations: 149.2 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/1.068, allocations: 148.7 kB / 1.191 GB, free: 13.56 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.553e-05/1.068, allocations: 4.844 kB / 1.191 GB, free: 13.56 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/1.068, allocations: 33.19 kB / 1.191 GB, free: 13.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=25): time 1.452e-06/1.068, allocations: 0 / 1.191 GB, free: 13.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=25): time 0.00148/1.069, allocations: 479.8 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/1.069, allocations: 52.59 kB / 1.191 GB, free: 13.33 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/1.069, allocations: 156.4 kB / 1.192 GB, free: 13.21 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/1.069, allocations: 25.7 kB / 1.192 GB, free: 13.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/1.069, allocations: 110.6 kB / 1.192 GB, free: 13.08 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.558e-05/1.069, allocations: 77.98 kB / 1.192 GB, free: 13.02 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/1.07, allocations: 33.69 kB / 1.192 GB, free: 12.99 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.874e-05/1.07, allocations: 328.8 kB / 1.192 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/1.07, allocations: 128.7 kB / 1.192 GB, free: 12.65 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004155/1.07, allocations: 134.7 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008666/1.071, allocations: 307 kB / 1.193 GB, free: 12.54 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.071, allocations: 0 / 1.193 GB, free: 12.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009127/1.072, allocations: 335.4 kB / 1.193 GB, free: 12.44 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.072, allocations: 5.797 kB / 1.193 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/1.072, allocations: 5.578 kB / 1.193 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/1.072, allocations: 1.062 kB / 1.193 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/1.073, allocations: 34.7 kB / 1.193 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/1.073, allocations: 0.5625 kB / 1.193 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/1.073, allocations: 49.55 kB / 1.193 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/1.073, allocations: 1.969 kB / 1.193 GB, free: 12.41 MB / 1.076 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.0001136/1.073, allocations: 136.3 kB / 1.193 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/1.073, allocations: 14.22 kB / 1.193 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/1.074, allocations: 359.1 kB / 1.194 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/1.074, allocations: 1.062 kB / 1.194 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.074, allocations: 0 / 1.194 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/1.074, allocations: 5.719 kB / 1.194 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/1.074, allocations: 189.6 kB / 1.194 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/1.074, allocations: 5.984 kB / 1.194 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/1.074, allocations: 38.34 kB / 1.194 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.074, allocations: 1.125 kB / 1.194 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/1.074, allocations: 0.9062 kB / 1.194 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.074, allocations: 0 / 1.194 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/1.074, allocations: 5.703 kB / 1.194 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000932/1.075, allocations: 444.7 kB / 1.194 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/1.075, allocations: 19.59 kB / 1.194 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/1.075, allocations: 1.625 kB / 1.194 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/1.076, allocations: 32.56 kB / 1.194 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/1.076, allocations: 17.41 kB / 1.194 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/1.076, allocations: 2.719 kB / 1.194 GB, free: 11.76 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.245e-05/1.076, allocations: 115.6 kB / 1.194 GB, free: 11.67 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.076, allocations: 0 / 1.194 GB, free: 11.67 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003355/1.076, allocations: 47.23 kB / 1.195 GB, free: 11.66 MB / 1.076 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.0002088/1.076, allocations: 120.4 kB / 1.195 GB, free: 11.57 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009897/1.077, allocations: 367.4 kB / 1.195 GB, free: 11.44 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.077, allocations: 0 / 1.195 GB, free: 11.44 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004816/1.078, allocations: 223 kB / 1.195 GB, free: 11.34 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/1.078, allocations: 20.75 kB / 1.195 GB, free: 11.34 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006084/1.079, allocations: 350.9 kB / 1.196 GB, free: 11.12 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/1.079, allocations: 126.8 kB / 1.196 GB, free: 11.04 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.278e-05/1.079, allocations: 14.17 kB / 1.196 GB, free: 11.04 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/1.079, allocations: 16.47 kB / 1.196 GB, free: 11.03 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/1.079, allocations: 0 / 1.196 GB, free: 11.03 MB / 1.076 GB Notification: Performance of Templates: time 0.006422/1.085, allocations: 2.159 MB / 1.198 GB, free: 10.79 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.590127381961793]