Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002103/0.002103, allocations: 113 kB / 17.6 MB, free: 4.785 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.002576/0.002576, allocations: 186.8 kB / 20.78 MB, free: 1.617 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.582/1.582, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.988/2.988, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 79.89 kB / 1.107 GB, free: 4.492 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115/1.117, allocations: 168.7 MB / 1.272 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002919/1.12, allocations: 0.8507 MB / 1.273 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001648/1.122, allocations: 1.018 MB / 1.274 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.339e-05/1.122, allocations: 1.188 kB / 1.274 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001492/1.122, allocations: 11.92 kB / 1.274 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.561e-05/1.122, allocations: 25.44 kB / 1.274 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/1.122, allocations: 96.67 kB / 1.274 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001982/1.123, allocations: 119.5 kB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/1.123, allocations: 31.98 kB / 1.274 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.211e-05/1.123, allocations: 51.05 kB / 1.274 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.931e-05/1.123, allocations: 62.19 kB / 1.274 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/1.123, allocations: 9.688 kB / 1.274 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/1.123, allocations: 96.34 kB / 1.274 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/1.123, allocations: 44.56 kB / 1.274 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.413e-05/1.123, allocations: 60.75 kB / 1.274 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003471/1.124, allocations: 218.6 kB / 1.275 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/1.124, allocations: 4.938 kB / 1.275 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.146e-06/1.124, allocations: 0 / 1.275 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.345e-05/1.124, allocations: 0 / 1.275 GB, free: 6.23 MB / 0.9981 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.0008575/1.125, allocations: 491.4 kB / 1.275 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.125, allocations: 8.781 kB / 1.275 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/1.125, allocations: 23.64 kB / 1.275 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/1.125, allocations: 213.5 kB / 1.275 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/1.125, allocations: 3.281 kB / 1.275 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/1.125, allocations: 13.59 kB / 1.275 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007303/1.126, allocations: 200 kB / 1.276 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/1.126, allocations: 192 / 1.276 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/1.126, allocations: 9.156 kB / 1.276 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/1.126, allocations: 2.156 kB / 1.276 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008783/1.127, allocations: 228.4 kB / 1.276 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/1.128, allocations: 0.5332 MB / 1.276 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/1.128, allocations: 153.7 kB / 1.276 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004501/1.129, allocations: 133.8 kB / 1.277 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.519e-05/1.129, allocations: 13.28 kB / 1.277 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/1.129, allocations: 41.73 kB / 1.277 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 2.375e-06/1.129, allocations: 0 / 1.277 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001659/1.131, allocations: 472.7 kB / 1.277 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/1.131, allocations: 56.31 kB / 1.277 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/1.131, allocations: 152.9 kB / 1.277 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/1.131, allocations: 27.05 kB / 1.277 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/1.131, allocations: 109.3 kB / 1.277 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.843e-05/1.131, allocations: 73.27 kB / 1.277 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/1.131, allocations: 33.16 kB / 1.278 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.605e-05/1.131, allocations: 329.3 kB / 1.278 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/1.132, allocations: 136.8 kB / 1.278 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/1.132, allocations: 141.5 kB / 1.278 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007839/1.133, allocations: 298.4 kB / 1.278 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.133, allocations: 3.938 kB / 1.278 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008972/1.134, allocations: 333.2 kB / 1.279 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/1.134, allocations: 4 kB / 1.279 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/1.134, allocations: 2.641 kB / 1.279 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/1.134, allocations: 0.6562 kB / 1.279 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/1.134, allocations: 34.64 kB / 1.279 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/1.134, allocations: 8.453 kB / 1.279 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/1.134, allocations: 37.08 kB / 1.279 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/1.134, allocations: 7.125 kB / 1.279 GB, free: 3.832 MB / 0.9981 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.0001554/1.134, allocations: 139.9 kB / 1.279 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/1.134, allocations: 12.94 kB / 1.279 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/1.136, allocations: 358.2 kB / 1.279 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/1.136, allocations: 2.031 kB / 1.279 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/1.136, allocations: 7.938 kB / 1.279 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.136, allocations: 0.5156 kB / 1.279 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/1.136, allocations: 264.4 kB / 1.28 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.136, allocations: 6.547 kB / 1.28 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/1.136, allocations: 37.56 kB / 1.28 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/1.136, allocations: 1.812 kB / 1.28 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/1.136, allocations: 0.9375 kB / 1.28 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.136, allocations: 4.641 kB / 1.28 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.136, allocations: 4.969 kB / 1.28 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009488/1.137, allocations: 439.8 kB / 1.28 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/1.137, allocations: 96.86 kB / 1.28 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/1.137, allocations: 7.438 kB / 1.28 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/1.137, allocations: 31.92 kB / 1.28 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.315e-05/1.137, allocations: 14.98 kB / 1.28 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/1.137, allocations: 7.422 kB / 1.28 GB, free: 3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.504e-05/1.138, allocations: 111 kB / 1.28 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.138, allocations: 4 kB / 1.28 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003704/1.138, allocations: 41.72 kB / 1.28 GB, free: 2.906 MB / 0.9981 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.000278/1.138, allocations: 132 kB / 1.28 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009244/1.139, allocations: 367.6 kB / 1.281 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.139, allocations: 0 / 1.281 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004735/1.14, allocations: 219.3 kB / 1.281 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/1.14, allocations: 19.66 kB / 1.281 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007568/1.141, allocations: 374.8 kB / 1.281 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/1.141, allocations: 0.733 MB / 1.282 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.003e-05/1.141, allocations: 14.56 kB / 1.282 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/1.141, allocations: 12.33 kB / 1.282 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of SimCode: time 7.52e-07/1.141, allocations: 0 / 1.282 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of Templates: time 0.006665/1.148, allocations: 2.079 MB / 1.284 GB, free: 1.492 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.89206556789577]