Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.0008347/0.0008347, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001169/0.002004, 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.0008205/0.0008205, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001175/0.001995, 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.9633/0.9633, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09854/1.062, allocations: 53.67 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.398/2.398, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2604/2.658, allocations: 145.9 MB / 0.817 GB, free: 4.23 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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 7.885e-06/7.885e-06, allocations: 0 / 0.8184 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.464e-05/4.252e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002275/0.002317, allocations: 0.7217 MB / 0.8191 GB, free: 2.141 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.003493, allocations: 0.8976 MB / 0.8199 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.003533, allocations: 0 / 0.8199 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.003564, allocations: 3.938 kB / 0.82 GB, free: 1.227 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.449e-05/0.003608, allocations: 0 / 0.82 GB, free: 1.227 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.003736, allocations: 19.91 kB / 0.82 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.441e-05/0.00383, allocations: 23.94 kB / 0.82 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.882e-05/0.003929, allocations: 7.984 kB / 0.82 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.004044, allocations: 19.86 kB / 0.82 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.292e-05/0.004097, allocations: 8 kB / 0.82 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.00413, allocations: 4 kB / 0.82 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-06/0.004139, allocations: 0 / 0.82 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.004158, allocations: 4 kB / 0.82 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.004185, allocations: 7.938 kB / 0.82 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.541e-05/0.004271, allocations: 7.984 kB / 0.82 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.075e-05/0.004292, allocations: 0 / 0.82 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.162e-06/0.004293, allocations: 4 kB / 0.8201 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.985e-05/0.004313, allocations: 4 kB / 0.8201 GB, free: 1.117 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004263/0.004739, allocations: 232.6 kB / 0.8203 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.004777, allocations: 12.62 kB / 0.8203 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.004808, allocations: 0.9375 kB / 0.8203 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.004919, allocations: 113.7 kB / 0.8204 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.004931, allocations: 384 / 0.8204 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.599e-06/0.00494, allocations: 4.375 kB / 0.8204 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.005067, allocations: 46.95 kB / 0.8204 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.005077, allocations: 4.125 kB / 0.8205 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.005087, allocations: 8.375 kB / 0.8205 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.005093, allocations: 8.375 kB / 0.8205 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.762e-05/0.00512, allocations: 3.938 kB / 0.8205 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/0.005362, allocations: 140.3 kB / 0.8206 GB, free: 492 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.596e-05/0.005418, allocations: 30.5 kB / 0.8206 GB, free: 452 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.005435, allocations: 12.88 kB / 0.8206 GB, free: 436 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.005455, allocations: 0 / 0.8206 GB, free: 436 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.005483, allocations: 42.56 kB / 0.8207 GB, free: 384 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.005484, allocations: 0 / 0.8207 GB, free: 384 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001256/0.005609, allocations: 33.7 kB / 0.8207 GB, free: 344 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.005647, allocations: 59.47 kB / 0.8208 GB, free: 272 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.606e-05/0.005713, allocations: 102.7 kB / 0.8209 GB, free: 156 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.005725, allocations: 25.7 kB / 0.8209 GB, free: 124 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.005763, allocations: 84.08 kB / 0.821 GB, free: 36 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.005784, allocations: 11.94 kB / 0.821 GB, free: 24 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.00582, allocations: 9.719 kB / 0.821 GB, free: 8 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.005939, allocations: 318.8 kB / 0.8213 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.005951, allocations: 0 / 0.8213 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.117e-05/0.005962, allocations: 7.938 kB / 0.8213 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.095e-05/0.005993, allocations: 12.86 kB / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005995, allocations: 4.062 kB / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.516e-05/0.006061, allocations: 33.69 kB / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.006076, allocations: 8 kB / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006081, allocations: 0 / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.006091, allocations: 0 / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.83e-05/0.006179, allocations: 7.938 kB / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.006183, allocations: 0 / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.006206, allocations: 7.984 kB / 0.8214 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.006212, allocations: 0 / 0.8214 GB, free: 15.6 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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 7.248e-05/0.006284, allocations: 117.8 kB / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.006304, allocations: 0 / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.006331, allocations: 3.312 kB / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.006333, allocations: 0 / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.006336, allocations: 3.938 kB / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.006339, allocations: 4 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.006464, allocations: 73.88 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.006465, allocations: 0 / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.006511, allocations: 4 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-06/0.006519, allocations: 3.984 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.006522, allocations: 4 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.006527, allocations: 7.938 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.00653, allocations: 0 / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.006534, allocations: 3.938 kB / 0.8216 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.006651, allocations: 127.5 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.006661, allocations: 0 / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.033e-05/0.006721, allocations: 8 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.006755, allocations: 3.938 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.006757, allocations: 0 / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.843e-05/0.006775, allocations: 16.78 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.006775, allocations: 0 / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001824/0.006958, allocations: 12.03 kB / 0.8218 GB, free: 15.17 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0001301/0.007088, allocations: 76.42 kB / 0.8218 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.884e-05/0.007157, allocations: 8.859 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.007163, allocations: 0 / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.847e-05/0.007181, allocations: 8.859 kB / 0.8219 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.007376, allocations: 7.984 kB / 0.8219 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.007836, allocations: 120.7 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.109e-05/0.007877, allocations: 55.36 kB / 0.822 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.045e-05/0.007898, allocations: 0 / 0.822 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.007943, allocations: 51.38 kB / 0.8221 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of SimCode: time 5.91e-07/0.007944, allocations: 0 / 0.8221 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of Templates: time 0.002236/0.01018, allocations: 475.3 kB / 0.8225 GB, free: 14.33 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.244708465412259]