Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001286/0.001286, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.00149/0.00149, allocations: 211.5 kB / 22.99 MB, free: 4.953 MB / 14.72 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 1.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.368/3.368, allocations: 0.49 GB / 0.7959 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 67.73 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3976, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002/0.3996, allocations: 0.6899 MB / 1.328 GB, free: 324 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.4007, allocations: 0.8358 MB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.4007, allocations: 0 / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.4007, allocations: 3.938 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.827e-05/0.4008, allocations: 7.938 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001089/0.4009, allocations: 15.92 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.401, allocations: 47.84 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.913e-05/0.4011, allocations: 8 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.698e-05/0.4012, allocations: 19.92 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.4012, allocations: 23.92 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.4013, allocations: 4 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.4013, allocations: 4 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.4013, allocations: 15.91 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.4013, allocations: 15.94 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 9.903e-05/0.4014, allocations: 39.81 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.4014, allocations: 3.984 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4014, allocations: 0 / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.4014, allocations: 0 / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005354/0.402, allocations: 286.2 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.402, allocations: 12.03 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.402, allocations: 0.9375 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.4022, allocations: 114.4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.4022, allocations: 4.375 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.4022, allocations: 4.375 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.4024, allocations: 74.14 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4025, allocations: 4.172 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4025, allocations: 3.938 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.4025, allocations: 7.938 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.4028, allocations: 63.92 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.4031, allocations: 208.6 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.4033, allocations: 50.48 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.4035, allocations: 52.84 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.4035, allocations: 0 / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.4035, allocations: 30.56 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.4035, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005631/0.4041, allocations: 129.5 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.4041, allocations: 63.34 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.511e-05/0.4042, allocations: 105.8 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.4042, allocations: 25.7 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.4043, allocations: 88.14 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.4043, allocations: 3.953 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.4044, allocations: 21.7 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.4046, allocations: 310.8 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.4047, allocations: 31.97 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.4049, allocations: 35.95 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.4052, allocations: 68.78 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4052, allocations: 0 / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000349/0.4055, allocations: 109.5 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4055, allocations: 7.938 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.4055, allocations: 0 / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.4055, allocations: 0 / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.4057, allocations: 19.98 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.4057, allocations: 320 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.873e-05/0.4058, allocations: 19.97 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.4058, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 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 (3): * Single equations (assignments): 3 * 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 8.365e-05/0.4059, allocations: 109.8 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.4059, allocations: 11.89 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/0.4063, allocations: 105.6 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4063, allocations: 0 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.4063, allocations: 0 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4063, allocations: 0 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.4064, allocations: 113.2 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4064, allocations: 4.312 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.4065, allocations: 35.84 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4065, allocations: 0 / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.4066, allocations: 0 / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4066, allocations: 0 / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4066, allocations: 0 / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.407, allocations: 191.5 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.407, allocations: 7.891 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.407, allocations: 4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.4071, allocations: 19.97 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.4071, allocations: 4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.4071, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.443e-05/0.4072, allocations: 91.25 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4072, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002229/0.4074, allocations: 4 kB / 1.331 GB, free: 12.4 MB / 1.029 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 (3): * Single equations (assignments): 3 * 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.0001388/0.4076, allocations: 103.2 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.4079, allocations: 67.92 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4079, allocations: 0 / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.4081, allocations: 35.95 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.4084, allocations: 10.81 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.4087, allocations: 117.6 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.19e-05/0.4087, allocations: 71.27 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.4088, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.4088, allocations: 19.38 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4088, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of Templates: time 0.003179/0.412, allocations: 0.7504 MB / 1.333 GB, free: 11.2 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.410672854995937]