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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.002658, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001425/0.002449, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9579/0.9579, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1212/1.079, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.454/2.454, allocations: 447.1 MB / 0.675 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3791/2.833, allocations: 146 MB / 0.8176 GB, free: 3.84 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.[0-9,]+.|sorAsc.y.[0-9,]+.|sorDes.y.[0-9,]+.|sorAsc.yIdx.[0-9,]+.|sorDes.yIdx.[0-9,]+.",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.[0-9,]+.|sorAsc.y.[0-9,]+.|sorDes.y.[0-9,]+.|sorAsc.yIdx.[0-9,]+.|sorDes.yIdx.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.819 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.352e-05, allocations: 2.312 kB / 0.819 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001441/0.001465, allocations: 0.8703 MB / 0.8199 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.00271, allocations: 1.065 MB / 0.8209 GB, free: 492 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.002768, allocations: 4 kB / 0.8209 GB, free: 488 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.647e-05/0.002835, allocations: 19.75 kB / 0.8209 GB, free: 468 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.167e-05/0.002876, allocations: 23.84 kB / 0.8209 GB, free: 444 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.003156, allocations: 83.72 kB / 0.821 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.003289, allocations: 127.6 kB / 0.8211 GB, free: 232 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.003429, allocations: 37.92 kB / 0.8212 GB, free: 196 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.003547, allocations: 76.62 kB / 0.8213 GB, free: 116 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.113e-05/0.003618, allocations: 51.86 kB / 0.8213 GB, free: 64 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.003655, allocations: 12 kB / 0.8213 GB, free: 52 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.003843, allocations: 103.8 kB / 0.8214 GB, free: 15.95 MB / 0.8074 GB Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.003894, allocations: 27.88 kB / 0.8214 GB, free: 15.92 MB / 0.8074 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.003931, allocations: 27.94 kB / 0.8215 GB, free: 15.89 MB / 0.8074 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.004114, allocations: 151.4 kB / 0.8216 GB, free: 15.75 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 1.451e-05/0.004128, allocations: 0 / 0.8216 GB, free: 15.75 MB / 0.8074 GB Notification: Performance of FrontEnd: time 1.503e-06/0.00413, allocations: 3.984 kB / 0.8216 GB, free: 15.74 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.004143, allocations: 0 / 0.8216 GB, free: 15.74 MB / 0.8074 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.0005225/0.004665, allocations: 395.7 kB / 0.822 GB, free: 15.33 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.004708, allocations: 12.02 kB / 0.822 GB, free: 15.32 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.004753, allocations: 16.88 kB / 0.822 GB, free: 15.3 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.004947, allocations: 153.3 kB / 0.8222 GB, free: 15.13 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.004959, allocations: 4.375 kB / 0.8222 GB, free: 15.12 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.004979, allocations: 8.375 kB / 0.8222 GB, free: 15.12 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.005223, allocations: 129.5 kB / 0.8223 GB, free: 14.98 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.005232, allocations: 192 / 0.8223 GB, free: 14.98 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.005245, allocations: 7.938 kB / 0.8223 GB, free: 14.97 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.005254, allocations: 4 kB / 0.8223 GB, free: 14.97 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.578e-05/0.005299, allocations: 23.98 kB / 0.8223 GB, free: 14.95 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.005751, allocations: 297.5 kB / 0.8226 GB, free: 14.64 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 7.125e-05/0.005822, allocations: 82.48 kB / 0.8227 GB, free: 14.55 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.649e-05/0.005859, allocations: 28.84 kB / 0.8227 GB, free: 14.52 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/0.005901, allocations: 4 kB / 0.8227 GB, free: 14.51 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.005926, allocations: 34.56 kB / 0.8228 GB, free: 14.47 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=25): time 1.343e-06/0.005927, allocations: 0 / 0.8228 GB, free: 14.47 MB / 0.8074 GB Notification: Performance of matching and sorting (n=25): time 0.0001874/0.006114, allocations: 140 kB / 0.8229 GB, free: 14.33 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.006143, allocations: 55.41 kB / 0.823 GB, free: 14.26 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.006226, allocations: 153.3 kB / 0.8231 GB, free: 14.1 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.00624, allocations: 25.7 kB / 0.8231 GB, free: 14.07 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.006278, allocations: 104.5 kB / 0.8232 GB, free: 13.96 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 5.331e-05/0.006331, allocations: 67.38 kB / 0.8233 GB, free: 13.9 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.00637, allocations: 33.67 kB / 0.8233 GB, free: 13.86 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.006451, allocations: 330.7 kB / 0.8236 GB, free: 13.53 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.228e-05/0.006483, allocations: 22.81 kB / 0.8237 GB, free: 13.5 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.006508, allocations: 16 kB / 0.8237 GB, free: 13.49 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.229e-05/0.00659, allocations: 81.47 kB / 0.8237 GB, free: 13.41 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006592, allocations: 0 / 0.8237 GB, free: 13.41 MB / 0.8074 GB Notification: Performance of matching and sorting (n=25) (initialization): time 9.939e-05/0.006691, allocations: 97.61 kB / 0.8238 GB, free: 13.3 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.006704, allocations: 8 kB / 0.8239 GB, free: 13.3 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.006716, allocations: 0 / 0.8239 GB, free: 13.3 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.006729, allocations: 0 / 0.8239 GB, free: 13.3 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.912e-05/0.006818, allocations: 23.98 kB / 0.8239 GB, free: 13.27 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.00682, allocations: 0 / 0.8239 GB, free: 13.27 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.006867, allocations: 27.86 kB / 0.8239 GB, free: 13.25 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.006891, allocations: 7.938 kB / 0.8239 GB, free: 13.24 MB / 0.8074 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.0001031/0.006994, allocations: 128.5 kB / 0.824 GB, free: 13.1 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.007013, allocations: 7.984 kB / 0.824 GB, free: 13.09 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.007191, allocations: 137.7 kB / 0.8242 GB, free: 12.95 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.007195, allocations: 8 kB / 0.8242 GB, free: 12.95 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.007198, allocations: 0 / 0.8242 GB, free: 12.95 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.007201, allocations: 0 / 0.8242 GB, free: 12.95 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.007329, allocations: 121.7 kB / 0.8243 GB, free: 12.81 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.007334, allocations: 3.984 kB / 0.8243 GB, free: 12.8 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.007392, allocations: 23.98 kB / 0.8243 GB, free: 12.78 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.007406, allocations: 23.84 kB / 0.8243 GB, free: 12.76 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.007407, allocations: 0 / 0.8243 GB, free: 12.76 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.007413, allocations: 0 / 0.8243 GB, free: 12.76 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.007415, allocations: 0 / 0.8243 GB, free: 12.76 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.007418, allocations: 7.984 kB / 0.8243 GB, free: 12.75 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.00758, allocations: 254.1 kB / 0.8246 GB, free: 12.48 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.007591, allocations: 0 / 0.8246 GB, free: 12.48 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.834e-05/0.007649, allocations: 19.98 kB / 0.8246 GB, free: 12.46 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.007695, allocations: 11.97 kB / 0.8246 GB, free: 12.45 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.007702, allocations: 4 kB / 0.8246 GB, free: 12.45 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 2.795e-05/0.00773, allocations: 38.66 kB / 0.8247 GB, free: 12.41 MB / 0.8074 GB Notification: Performance of sort global known variables: time 5e-08/0.00773, allocations: 0 / 0.8247 GB, free: 12.41 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.0001667/0.007897, allocations: 47.88 kB / 0.8247 GB, free: 12.36 MB / 0.8074 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.0001609/0.008058, allocations: 111 kB / 0.8248 GB, free: 12.25 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.008208, allocations: 135.5 kB / 0.8249 GB, free: 12.11 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 9.659e-06/0.008218, allocations: 11.92 kB / 0.825 GB, free: 12.09 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 7.802e-05/0.008296, allocations: 108.2 kB / 0.8251 GB, free: 11.97 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.008533, allocations: 227.8 kB / 0.8253 GB, free: 11.71 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004932/0.009026, allocations: 303.2 kB / 0.8256 GB, free: 11.38 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.899e-05/0.009075, allocations: 83.33 kB / 0.8256 GB, free: 11.28 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 3.411e-05/0.00911, allocations: 4 kB / 0.8256 GB, free: 11.27 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.814e-05/0.009188, allocations: 75.34 kB / 0.8257 GB, free: 11.2 MB / 0.8074 GB Notification: Performance of SimCode: time 7.72e-07/0.009188, allocations: 0 / 0.8257 GB, free: 11.2 MB / 0.8074 GB Notification: Performance of Templates: time 0.003909/0.0131, allocations: 2.098 MB / 0.8278 GB, free: 9.129 MB / 0.8074 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.55488492641598]