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.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.001433/0.001433, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001392/0.001392, allocations: 186 kB / 20.78 MB, free: 1.547 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.565/1.565, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.945/2.945, allocations: 496.2 MB / 0.7819 GB, free: 12.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 71.89 kB / 1.136 GB, free: 12.36 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169/1.171, allocations: 173.6 MB / 1.305 GB, free: 33.47 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002117/1.173, allocations: 0.8434 MB / 1.306 GB, free: 32.92 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001233/1.174, allocations: 1.029 MB / 1.307 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/1.174, allocations: 0 / 1.307 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001357/1.174, allocations: 11.88 kB / 1.307 GB, free: 32.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.54e-05/1.174, allocations: 20.91 kB / 1.307 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/1.175, allocations: 91.84 kB / 1.307 GB, free: 32.1 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001862/1.175, allocations: 121 kB / 1.308 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/1.175, allocations: 41.17 kB / 1.308 GB, free: 32.03 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.628e-05/1.175, allocations: 54.73 kB / 1.308 GB, free: 32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.301e-05/1.176, allocations: 63.53 kB / 1.308 GB, free: 31.97 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/1.176, allocations: 11.97 kB / 1.308 GB, free: 31.97 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/1.176, allocations: 85.69 kB / 1.308 GB, free: 31.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.48e-05/1.176, allocations: 39.66 kB / 1.308 GB, free: 31.93 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.503e-05/1.176, allocations: 71.5 kB / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003308/1.176, allocations: 221.7 kB / 1.308 GB, free: 31.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.176, allocations: 0 / 1.308 GB, free: 31.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.185e-06/1.176, allocations: 0 / 1.308 GB, free: 31.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.611e-05/1.176, allocations: 4 kB / 1.308 GB, free: 31.79 MB / 1.061 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.0008976/1.177, allocations: 496.5 kB / 1.309 GB, free: 31.36 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/1.177, allocations: 8.156 kB / 1.309 GB, free: 31.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.293e-05/1.177, allocations: 20.86 kB / 1.309 GB, free: 31.35 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/1.177, allocations: 201.9 kB / 1.309 GB, free: 31.13 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/1.177, allocations: 13.19 kB / 1.309 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/1.178, allocations: 2.812 kB / 1.309 GB, free: 31.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005846/1.178, allocations: 210.6 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/1.178, allocations: 192 / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/1.178, allocations: 10.91 kB / 1.309 GB, free: 31.04 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.178, allocations: 0 / 1.309 GB, free: 31.04 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006627/1.179, allocations: 221.6 kB / 1.309 GB, free: 31 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008741/1.18, allocations: 0.5309 MB / 1.31 GB, free: 30.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/1.18, allocations: 154 kB / 1.31 GB, free: 30.58 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/1.18, allocations: 139.2 kB / 1.31 GB, free: 30.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.375e-05/1.18, allocations: 6.062 kB / 1.31 GB, free: 30.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/1.18, allocations: 34.56 kB / 1.31 GB, free: 30.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/1.18, allocations: 4 kB / 1.31 GB, free: 30.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.0013/1.182, allocations: 475.8 kB / 1.311 GB, free: 30.38 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/1.182, allocations: 58.28 kB / 1.311 GB, free: 30.31 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/1.182, allocations: 158.1 kB / 1.311 GB, free: 30.19 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/1.182, allocations: 25.7 kB / 1.311 GB, free: 30.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/1.182, allocations: 105.9 kB / 1.311 GB, free: 30.06 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/1.182, allocations: 79.25 kB / 1.311 GB, free: 29.99 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/1.182, allocations: 44.2 kB / 1.311 GB, free: 29.96 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.942e-05/1.182, allocations: 327.9 kB / 1.311 GB, free: 29.64 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/1.182, allocations: 128.7 kB / 1.311 GB, free: 29.62 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/1.183, allocations: 141 kB / 1.312 GB, free: 29.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/1.183, allocations: 295.5 kB / 1.312 GB, free: 29.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.183, allocations: 0 / 1.312 GB, free: 29.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000729/1.184, allocations: 332.6 kB / 1.312 GB, free: 29.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/1.184, allocations: 10.16 kB / 1.312 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/1.184, allocations: 2.219 kB / 1.312 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/1.184, allocations: 0 / 1.312 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/1.184, allocations: 39.19 kB / 1.312 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/1.184, allocations: 7.062 kB / 1.312 GB, free: 29.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/1.185, allocations: 44.23 kB / 1.312 GB, free: 29.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/1.185, allocations: 2.875 kB / 1.312 GB, free: 29.39 MB / 1.061 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.0001176/1.185, allocations: 135 kB / 1.312 GB, free: 29.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/1.185, allocations: 12.28 kB / 1.312 GB, free: 29.26 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008244/1.186, allocations: 362.9 kB / 1.313 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/1.186, allocations: 0 / 1.313 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.186, allocations: 7.938 kB / 1.313 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/1.186, allocations: 0 / 1.313 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/1.186, allocations: 276.3 kB / 1.313 GB, free: 28.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/1.186, allocations: 6.781 kB / 1.313 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/1.186, allocations: 35.59 kB / 1.313 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.186, allocations: 0 / 1.313 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/1.186, allocations: 2.812 kB / 1.313 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/1.186, allocations: 0 / 1.313 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.186, allocations: 3.938 kB / 1.313 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007414/1.187, allocations: 434.9 kB / 1.313 GB, free: 28.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/1.187, allocations: 94.89 kB / 1.314 GB, free: 28.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/1.187, allocations: 10.97 kB / 1.314 GB, free: 28.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/1.187, allocations: 23.8 kB / 1.314 GB, free: 28.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/1.187, allocations: 20.41 kB / 1.314 GB, free: 28.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/1.187, allocations: 2.969 kB / 1.314 GB, free: 28.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.347e-05/1.187, allocations: 114 kB / 1.314 GB, free: 28.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.187, allocations: 0 / 1.314 GB, free: 28.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003094/1.188, allocations: 45.64 kB / 1.314 GB, free: 28.46 MB / 1.061 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.0002324/1.188, allocations: 129.1 kB / 1.314 GB, free: 28.37 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008872/1.189, allocations: 363.4 kB / 1.314 GB, free: 28.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.189, allocations: 0 / 1.314 GB, free: 28.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004083/1.189, allocations: 226.9 kB / 1.314 GB, free: 28.14 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/1.189, allocations: 20.03 kB / 1.314 GB, free: 28.14 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007226/1.19, allocations: 362.6 kB / 1.315 GB, free: 27.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/1.19, allocations: 0.7347 MB / 1.316 GB, free: 27.22 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.265e-05/1.19, allocations: 26.69 kB / 1.316 GB, free: 27.21 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/1.19, allocations: 12.69 kB / 1.316 GB, free: 27.2 MB / 1.061 GB Notification: Performance of SimCode: time 1.012e-06/1.19, allocations: 0 / 1.316 GB, free: 27.2 MB / 1.061 GB Notification: Performance of Templates: time 0.005777/1.196, allocations: 2.084 MB / 1.318 GB, free: 27.04 MB / 1.061 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 400] 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/jenkins/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.791124436073005]