Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001979/0.001979, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.00219/0.00219, allocations: 184.8 kB / 22.22 MB, free: 5.102 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.533/1.533, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.704/2.704, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.",fileNamePrefix="Buildings_10_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.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 71.88 kB / 1.062 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057/1.059, allocations: 160.8 MB / 1.219 GB, free: 3.762 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002425/1.061, allocations: 0.828 MB / 1.219 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001658/1.063, allocations: 1.028 MB / 1.22 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.022e-05/1.063, allocations: 1.469 kB / 1.22 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/1.063, allocations: 13.17 kB / 1.22 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.222e-05/1.063, allocations: 14.31 kB / 1.22 GB, free: 2.277 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/1.063, allocations: 98.31 kB / 1.22 GB, free: 2.207 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001883/1.064, allocations: 123.8 kB / 1.221 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/1.064, allocations: 40.73 kB / 1.221 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/1.064, allocations: 58.67 kB / 1.221 GB, free: 2.062 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.543e-05/1.064, allocations: 55.05 kB / 1.221 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/1.064, allocations: 14.5 kB / 1.221 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/1.064, allocations: 96.09 kB / 1.221 GB, free: 1.969 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/1.064, allocations: 33.25 kB / 1.221 GB, free: 1.945 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.924e-05/1.064, allocations: 58.67 kB / 1.221 GB, free: 1.898 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/1.065, allocations: 191.4 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.065, allocations: 1.25 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.373e-06/1.065, allocations: 3.938 kB / 1.221 GB, free: 1.762 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.001e-06/1.065, allocations: 3.938 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008958/1.066, allocations: 486.2 kB / 1.222 GB, free: 1.297 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.066, allocations: 9.875 kB / 1.222 GB, free: 1.297 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/1.066, allocations: 18.95 kB / 1.222 GB, free: 1.285 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/1.066, allocations: 204 kB / 1.222 GB, free: 1.059 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/1.066, allocations: 7.594 kB / 1.222 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/1.066, allocations: 9.375 kB / 1.222 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/1.067, allocations: 189.1 kB / 1.222 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/1.067, allocations: 192 / 1.222 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/1.067, allocations: 5.312 kB / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.826e-05/1.067, allocations: 13.03 kB / 1.222 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/1.067, allocations: 202.1 kB / 1.222 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000978/1.068, allocations: 461.4 kB / 1.223 GB, free: 460 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/1.069, allocations: 127.6 kB / 1.223 GB, free: 388 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003704/1.069, allocations: 117.4 kB / 1.223 GB, free: 332 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/1.069, allocations: 5.172 kB / 1.223 GB, free: 328 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/1.069, allocations: 31.72 kB / 1.223 GB, free: 288 kB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/1.069, allocations: 0 / 1.223 GB, free: 288 kB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.001247/1.07, allocations: 402 kB / 1.223 GB, free: 92 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/1.07, allocations: 52.56 kB / 1.223 GB, free: 28 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/1.071, allocations: 157.4 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/1.071, allocations: 26.77 kB / 1.224 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/1.071, allocations: 109.1 kB / 1.224 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.072e-05/1.071, allocations: 53.66 kB / 1.224 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/1.071, allocations: 25.59 kB / 1.224 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000177/1.071, allocations: 330.1 kB / 1.224 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/1.071, allocations: 111.3 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/1.072, allocations: 116.1 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007137/1.072, allocations: 248.7 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.072, allocations: 0 / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007917/1.073, allocations: 276.7 kB / 1.225 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.073, allocations: 4.438 kB / 1.225 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.073, allocations: 5.406 kB / 1.225 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.073, allocations: 0 / 1.225 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/1.074, allocations: 34.89 kB / 1.225 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/1.074, allocations: 0 / 1.225 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/1.074, allocations: 40.58 kB / 1.225 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/1.074, allocations: 3.469 kB / 1.225 GB, free: 14.97 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0001353/1.074, allocations: 129.7 kB / 1.225 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/1.074, allocations: 13.19 kB / 1.225 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/1.074, allocations: 19.27 kB / 1.225 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/1.074, allocations: 8.094 kB / 1.225 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.074, allocations: 0 / 1.225 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.074, allocations: 3.938 kB / 1.225 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/1.074, allocations: 233.5 kB / 1.225 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/1.074, allocations: 1.656 kB / 1.225 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/1.075, allocations: 37.8 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/1.075, allocations: 0 / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/1.075, allocations: 0.9062 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/1.075, allocations: 5.672 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.075, allocations: 0 / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008333/1.075, allocations: 375.7 kB / 1.226 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/1.075, allocations: 96.97 kB / 1.226 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/1.075, allocations: 5.125 kB / 1.226 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/1.076, allocations: 35.72 kB / 1.226 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-05/1.076, allocations: 19.7 kB / 1.226 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/1.076, allocations: 2.688 kB / 1.226 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001197/1.076, allocations: 113.4 kB / 1.226 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.076, allocations: 0 / 1.226 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003456/1.076, allocations: 36.5 kB / 1.226 GB, free: 14.06 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0002978/1.077, allocations: 114.8 kB / 1.226 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008603/1.077, allocations: 253.9 kB / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.077, allocations: 4 kB / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000388/1.078, allocations: 125.2 kB / 1.226 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/1.078, allocations: 15.91 kB / 1.226 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007717/1.079, allocations: 325.3 kB / 1.227 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/1.079, allocations: 0.7299 MB / 1.227 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.051e-05/1.08, allocations: 13.52 kB / 1.227 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/1.08, allocations: 20.62 kB / 1.227 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of SimCode: time 7.82e-07/1.08, allocations: 0 / 1.227 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of Templates: time 0.005992/1.086, allocations: 1.981 MB / 1.229 GB, free: 11.79 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.515356949530542]