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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002035/0.002035, allocations: 104.5 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002578/0.002578, allocations: 190.2 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.371/3.371, allocations: 495.8 MB / 0.783 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002929/0.002929, allocations: 65.11 kB / 1.137 GB, free: 33.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4495, allocations: 173.6 MB / 1.307 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002438/0.452, allocations: 0.8497 MB / 1.308 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001675/0.4536, allocations: 1.022 MB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.481e-05/0.4537, allocations: 3.828 kB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.4539, allocations: 11.86 kB / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.318e-05/0.4539, allocations: 15.81 kB / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005016/0.4544, allocations: 99.75 kB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.4546, allocations: 123.6 kB / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.4548, allocations: 33.3 kB / 1.309 GB, free: 15.63 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.722e-05/0.4549, allocations: 51.84 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.253e-05/0.455, allocations: 67.73 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.455, allocations: 8 kB / 1.309 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.4552, allocations: 95.91 kB / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.307e-05/0.4552, allocations: 39.92 kB / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.64e-05/0.4553, allocations: 67.47 kB / 1.309 GB, free: 15.31 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.4556, allocations: 215 kB / 1.309 GB, free: 15.1 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4556, allocations: 0 / 1.309 GB, free: 15.1 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.505e-06/0.4556, allocations: 0 / 1.309 GB, free: 15.1 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.4556, allocations: 0 / 1.309 GB, free: 15.1 MB / 1.014 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.0009174/0.4566, allocations: 425.4 kB / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4566, allocations: 12.03 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.4566, allocations: 16.8 kB / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.4569, allocations: 154.2 kB / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.4569, allocations: 8.375 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.4569, allocations: 8.375 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006247/0.4576, allocations: 204.2 kB / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4576, allocations: 192 / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.4576, allocations: 7.938 kB / 1.31 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.4576, allocations: 4 kB / 1.31 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007741/0.4584, allocations: 219.8 kB / 1.31 GB, free: 14 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.4594, allocations: 0.4991 MB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000445/0.4598, allocations: 150.4 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004081/0.4602, allocations: 140.7 kB / 1.311 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/0.4603, allocations: 8 kB / 1.311 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.4603, allocations: 34.56 kB / 1.311 GB, free: 13.11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=25): time 1.453e-06/0.4603, allocations: 3.938 kB / 1.311 GB, free: 13.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=25): time 0.001516/0.4618, allocations: 479.2 kB / 1.312 GB, free: 12.63 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.4619, allocations: 59.34 kB / 1.312 GB, free: 12.56 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.4621, allocations: 153.2 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.4622, allocations: 25.7 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.4623, allocations: 112.5 kB / 1.312 GB, free: 12.26 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.93e-05/0.4624, allocations: 75.39 kB / 1.312 GB, free: 12.19 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.708e-05/0.4624, allocations: 33.7 kB / 1.312 GB, free: 12.15 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.4626, allocations: 330.8 kB / 1.312 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.463, allocations: 127.9 kB / 1.313 GB, free: 11.69 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/0.4635, allocations: 135.9 kB / 1.313 GB, free: 11.56 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008204/0.4643, allocations: 303.8 kB / 1.313 GB, free: 11.26 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4643, allocations: 4 kB / 1.313 GB, free: 11.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009214/0.4652, allocations: 313.4 kB / 1.313 GB, free: 10.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.4652, allocations: 8 kB / 1.313 GB, free: 10.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/0.4653, allocations: 7.984 kB / 1.313 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.4653, allocations: 0 / 1.313 GB, free: 10.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.4655, allocations: 39.89 kB / 1.313 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.4655, allocations: 3.938 kB / 1.313 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.4657, allocations: 39.84 kB / 1.313 GB, free: 10.85 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.4658, allocations: 8 kB / 1.313 GB, free: 10.84 MB / 1.014 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.0001563/0.4659, allocations: 139.8 kB / 1.314 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.466, allocations: 15.84 kB / 1.314 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.467, allocations: 373.6 kB / 1.314 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.467, allocations: 0 / 1.314 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.467, allocations: 7.938 kB / 1.314 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.467, allocations: 0 / 1.314 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.4673, allocations: 244.5 kB / 1.314 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.4673, allocations: 0 / 1.314 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.4675, allocations: 39.95 kB / 1.314 GB, free: 9.984 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4675, allocations: 0 / 1.314 GB, free: 9.984 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.4675, allocations: 8 kB / 1.314 GB, free: 9.977 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4675, allocations: 0 / 1.314 GB, free: 9.977 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4675, allocations: 3.938 kB / 1.314 GB, free: 9.973 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009854/0.4685, allocations: 431.2 kB / 1.315 GB, free: 9.535 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.4686, allocations: 19.84 kB / 1.315 GB, free: 9.516 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.4686, allocations: 3.984 kB / 1.315 GB, free: 9.512 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.4688, allocations: 27.97 kB / 1.315 GB, free: 9.484 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/0.4689, allocations: 19.91 kB / 1.315 GB, free: 9.465 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.4689, allocations: 8 kB / 1.315 GB, free: 9.457 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.147e-05/0.469, allocations: 113.8 kB / 1.315 GB, free: 9.348 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.469, allocations: 0 / 1.315 GB, free: 9.348 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003218/0.4693, allocations: 47.83 kB / 1.315 GB, free: 9.301 MB / 1.014 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.0002707/0.4696, allocations: 124 kB / 1.315 GB, free: 9.172 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009964/0.4706, allocations: 355.2 kB / 1.315 GB, free: 8.812 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4706, allocations: 4 kB / 1.315 GB, free: 8.809 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005096/0.4711, allocations: 219.2 kB / 1.316 GB, free: 8.582 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.4714, allocations: 19.94 kB / 1.316 GB, free: 8.562 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007533/0.4722, allocations: 361.1 kB / 1.316 GB, free: 8.184 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.4726, allocations: 0.7314 MB / 1.317 GB, free: 7.426 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.515e-05/0.4726, allocations: 15.97 kB / 1.317 GB, free: 7.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.4727, allocations: 15.44 kB / 1.317 GB, free: 7.395 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/0.4727, allocations: 0 / 1.317 GB, free: 7.395 MB / 1.014 GB Notification: Performance of Templates: time 0.006065/0.4788, allocations: 2.146 MB / 1.319 GB, free: 5.266 MB / 1.014 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/jenkins/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.781437845900655]