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.001899/0.001899, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002452/0.002452, allocations: 194.8 kB / 22.17 MB, free: 5.656 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.58/1.58, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.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 3.107/3.107, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 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.002073/0.002073, allocations: 71.88 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9554/0.9574, allocations: 168.7 MB / 1.274 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002057/0.9595, allocations: 0.851 MB / 1.275 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.9608, allocations: 1.018 MB / 1.276 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.9609, allocations: 0 / 1.276 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.961, allocations: 19.8 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.306e-05/0.9611, allocations: 23.8 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.9615, allocations: 87.83 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.9617, allocations: 127.6 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.9618, allocations: 37.05 kB / 1.276 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.484e-05/0.9619, allocations: 47.83 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.742e-05/0.962, allocations: 59.77 kB / 1.276 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.962, allocations: 12 kB / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.9622, allocations: 91.84 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.26e-05/0.9622, allocations: 43.83 kB / 1.276 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.937e-05/0.9623, allocations: 67.59 kB / 1.277 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.9626, allocations: 221.7 kB / 1.277 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.9626, allocations: 0 / 1.277 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9626, allocations: 0 / 1.277 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.9626, allocations: 0 / 1.277 GB, free: 1.871 MB / 0.9669 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.0009259/0.9635, allocations: 0.4907 MB / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.9636, allocations: 8.031 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/0.9636, allocations: 20.8 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.9639, allocations: 208.1 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.9639, allocations: 8.375 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.9639, allocations: 4.375 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006209/0.9646, allocations: 210 kB / 1.278 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.9646, allocations: 192 / 1.278 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.9646, allocations: 7.938 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.9646, allocations: 4 kB / 1.278 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007871/0.9654, allocations: 227.7 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.9664, allocations: 0.5275 MB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004743/0.9669, allocations: 146.5 kB / 1.279 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004186/0.9673, allocations: 144.7 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.081e-05/0.9673, allocations: 4 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.9674, allocations: 38.56 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.9674, allocations: 0 / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.001495/0.9689, allocations: 476 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.9689, allocations: 59.34 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.9691, allocations: 156.4 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.9691, allocations: 29.7 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.9692, allocations: 104.6 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.01e-05/0.9692, allocations: 71.33 kB / 1.28 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.9693, allocations: 33.7 kB / 1.28 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.9695, allocations: 326.8 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004383/0.9699, allocations: 139.8 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.9703, allocations: 127.9 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008336/0.9711, allocations: 299.4 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.9711, allocations: 0 / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009235/0.9721, allocations: 337.2 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.9721, allocations: 7.938 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.9721, allocations: 0 / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.9721, allocations: 7.984 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.9724, allocations: 35.95 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.9724, allocations: 3.938 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.9726, allocations: 39.91 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.9726, allocations: 0 / 1.281 GB, free: 13.41 MB / 0.9825 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.0001758/0.9728, allocations: 140.4 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.9728, allocations: 15.91 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.9738, allocations: 366.2 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.9738, allocations: 0 / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.9738, allocations: 3.938 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.9738, allocations: 0 / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.9741, allocations: 269.5 kB / 1.282 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.9741, allocations: 4 kB / 1.282 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.9743, allocations: 35.95 kB / 1.282 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.9743, allocations: 4 kB / 1.282 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.9744, allocations: 0 / 1.282 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.9744, allocations: 7.938 kB / 1.282 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9744, allocations: 3.938 kB / 1.282 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009626/0.9753, allocations: 439.1 kB / 1.282 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.9754, allocations: 92.95 kB / 1.282 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.9754, allocations: 11.98 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.9756, allocations: 23.97 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/0.9757, allocations: 19.91 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.9757, allocations: 3.984 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.648e-05/0.9758, allocations: 112.1 kB / 1.282 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9758, allocations: 0 / 1.282 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000306/0.9761, allocations: 51.88 kB / 1.282 GB, free: 11.75 MB / 0.9825 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.0002603/0.9764, allocations: 119.8 kB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.9774, allocations: 371 kB / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9774, allocations: 0 / 1.283 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005088/0.9779, allocations: 219.3 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.9782, allocations: 19.98 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006704/0.9789, allocations: 363.1 kB / 1.283 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.9793, allocations: 0.746 MB / 1.284 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.757e-05/0.9794, allocations: 11.98 kB / 1.284 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.9794, allocations: 15.44 kB / 1.284 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.9794, allocations: 0 / 1.284 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of Templates: time 0.005607/0.985, allocations: 2.079 MB / 1.286 GB, free: 7.762 MB / 0.9825 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.52671647630632]