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.001171/0.001171, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002344/0.003515, allocations: 435.8 kB / 10.33 MB, free: 368 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.001386/0.001386, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001708/0.003094, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9638/0.9638, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1052/1.069, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.482/2.482, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2423/2.724, allocations: 145.9 MB / 0.817 GB, free: 4.191 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 1.713e-06/1.713e-06, allocations: 0 / 0.8184 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.192e-05, allocations: 4.984 kB / 0.8184 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001651/0.001673, allocations: 0.8741 MB / 0.8192 GB, free: 1.941 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.002841, allocations: 1.065 MB / 0.8203 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.002897, allocations: 4 kB / 0.8203 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.261e-05/0.002969, allocations: 15.86 kB / 0.8203 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.685e-05/0.003016, allocations: 19.75 kB / 0.8203 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.003306, allocations: 87.75 kB / 0.8204 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.003448, allocations: 123.6 kB / 0.8205 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.003574, allocations: 41.91 kB / 0.8205 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.003698, allocations: 84.56 kB / 0.8206 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.569e-05/0.003763, allocations: 51.81 kB / 0.8207 GB, free: 452 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.003786, allocations: 12 kB / 0.8207 GB, free: 440 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.003948, allocations: 91.91 kB / 0.8208 GB, free: 348 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/0.003997, allocations: 35.86 kB / 0.8208 GB, free: 312 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.004051, allocations: 31.88 kB / 0.8208 GB, free: 280 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.004259, allocations: 151.4 kB / 0.821 GB, free: 128 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.659e-05/0.004275, allocations: 0 / 0.821 GB, free: 128 kB / 0.7917 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004276, allocations: 4 kB / 0.821 GB, free: 124 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.682e-05/0.004293, allocations: 0 / 0.821 GB, free: 124 kB / 0.7917 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.0005632/0.004856, allocations: 395.7 kB / 0.8214 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.004888, allocations: 8.625 kB / 0.8214 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.004928, allocations: 12.92 kB / 0.8214 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.005068, allocations: 141.5 kB / 0.8215 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.00508, allocations: 8.375 kB / 0.8215 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.005093, allocations: 8.375 kB / 0.8215 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.005325, allocations: 134.5 kB / 0.8217 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.005335, allocations: 8.125 kB / 0.8217 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.005346, allocations: 3.938 kB / 0.8217 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.005353, allocations: 3.984 kB / 0.8217 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.585e-05/0.005409, allocations: 24.59 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.005832, allocations: 301.5 kB / 0.822 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.595e-05/0.005908, allocations: 82.48 kB / 0.8221 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.005946, allocations: 28.86 kB / 0.8221 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.002e-05/0.005996, allocations: 4 kB / 0.8221 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.992e-05/0.006076, allocations: 30.56 kB / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=25): time 1.303e-06/0.006078, allocations: 0 / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25): time 0.0002146/0.006292, allocations: 144 kB / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.006326, allocations: 55.39 kB / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/0.006412, allocations: 149.3 kB / 0.8224 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.006424, allocations: 25.7 kB / 0.8225 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.006466, allocations: 108.5 kB / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.006514, allocations: 71.3 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.006561, allocations: 37.67 kB / 0.8227 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.221e-05/0.006643, allocations: 334.7 kB / 0.823 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.865e-05/0.006682, allocations: 18.83 kB / 0.823 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.912e-05/0.006711, allocations: 16 kB / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.238e-05/0.006804, allocations: 77.53 kB / 0.8231 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.006806, allocations: 0 / 0.8231 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001289/0.006935, allocations: 101.5 kB / 0.8232 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.006948, allocations: 8 kB / 0.8232 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.006961, allocations: 0 / 0.8232 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.006969, allocations: 0 / 0.8232 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.007077, allocations: 23.97 kB / 0.8232 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.007079, allocations: 4 kB / 0.8232 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.977e-05/0.007139, allocations: 23.88 kB / 0.8233 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.007159, allocations: 8 kB / 0.8233 GB, free: 13.61 MB / 0.8073 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 9.156e-05/0.00725, allocations: 120.6 kB / 0.8234 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.007276, allocations: 4 kB / 0.8234 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.007458, allocations: 142.8 kB / 0.8235 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.007462, allocations: 4 kB / 0.8235 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.007463, allocations: 4 kB / 0.8235 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.007466, allocations: 0 / 0.8235 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.007612, allocations: 121.7 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.007617, allocations: 0 / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.225e-05/0.0077, allocations: 27.97 kB / 0.8237 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.007714, allocations: 15.84 kB / 0.8237 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.007715, allocations: 0 / 0.8237 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.007722, allocations: 0 / 0.8237 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.007724, allocations: 0 / 0.8237 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.007725, allocations: 4 kB / 0.8237 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.00802, allocations: 264.7 kB / 0.8239 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.008035, allocations: 0 / 0.8239 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.008123, allocations: 19.98 kB / 0.824 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.00817, allocations: 11.98 kB / 0.824 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.008204, allocations: 4 kB / 0.824 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.145e-05/0.008235, allocations: 34.44 kB / 0.824 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.008235, allocations: 0 / 0.824 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002206/0.008456, allocations: 51.83 kB / 0.8241 GB, free: 12.74 MB / 0.8073 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.0001713/0.008627, allocations: 108.4 kB / 0.8242 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.008797, allocations: 136.2 kB / 0.8243 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.008806, allocations: 4 kB / 0.8243 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.153e-05/0.008887, allocations: 108.2 kB / 0.8244 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.009099, allocations: 28.62 kB / 0.8244 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005745/0.009674, allocations: 318.5 kB / 0.8247 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.239e-05/0.009726, allocations: 75.33 kB / 0.8248 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.421e-05/0.00977, allocations: 4 kB / 0.8248 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.894e-05/0.009859, allocations: 71.36 kB / 0.8249 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of SimCode: time 8.22e-07/0.00986, allocations: 3.938 kB / 0.8249 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of Templates: time 0.004348/0.01421, allocations: 2.107 MB / 0.8269 GB, free: 9.75 MB / 0.8073 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.34885173663497]