Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.00202/0.00202, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002703/0.002703, allocations: 210.8 kB / 22.99 MB, free: 4.984 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.575/1.575, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.318/3.318, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.002102/0.002102, allocations: 67.3 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3952, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002123/0.3974, allocations: 0.754 MB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.3986, allocations: 0.8939 MB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.3986, allocations: 0 / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.3987, allocations: 7.875 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.589e-05/0.3987, allocations: 11.88 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.3989, allocations: 43.88 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.3991, allocations: 75.89 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.3992, allocations: 23.98 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.947e-05/0.3993, allocations: 47.83 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.966e-05/0.3994, allocations: 51.83 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.3994, allocations: 8 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.823e-05/0.3994, allocations: 11.94 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.191e-05/0.3994, allocations: 23.91 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.3995, allocations: 23.86 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.3996, allocations: 87.67 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3996, allocations: 0 / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3996, allocations: 0 / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3997, allocations: 0 / 1.329 GB, free: 14.92 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006969/0.4003, allocations: 326.8 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.4004, allocations: 11.97 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.4004, allocations: 8.891 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.4006, allocations: 134.3 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.4006, allocations: 4.375 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.4006, allocations: 4.375 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.401, allocations: 105.5 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.401, allocations: 0 / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.401, allocations: 0 / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.401, allocations: 8 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.4014, allocations: 99.89 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.4019, allocations: 264.3 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/0.4026, allocations: 114.6 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.4028, allocations: 56.81 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.4028, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.4028, allocations: 38.5 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.4028, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0007051/0.4035, allocations: 185.5 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.4036, allocations: 55.41 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.4037, allocations: 121.8 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.4037, allocations: 25.7 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.4038, allocations: 96.08 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.4038, allocations: 15.84 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.4039, allocations: 25.7 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.404, allocations: 326.8 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.4042, allocations: 43.95 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.4044, allocations: 47.95 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.4048, allocations: 101.2 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4048, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004635/0.4052, allocations: 145.5 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4053, allocations: 5.562 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4053, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/0.4053, allocations: 4 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.4055, allocations: 27.97 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4055, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.4056, allocations: 15.94 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.4056, allocations: 7.922 kB / 1.331 GB, free: 12.37 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: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.000103/0.4057, allocations: 121.8 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.4058, allocations: 4 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004876/0.4063, allocations: 142 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4063, allocations: 4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4063, allocations: 4 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4063, allocations: 3.984 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.4065, allocations: 149.1 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4065, allocations: 3.984 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.4067, allocations: 27.95 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.4067, allocations: 3.938 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.4067, allocations: 4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.4067, allocations: 4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4067, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.4072, allocations: 235.3 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.4072, allocations: 4 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.4072, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.4074, allocations: 15.98 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.137e-05/0.4075, allocations: 19.97 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.4075, allocations: 7.984 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.935e-05/0.4075, allocations: 91.7 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4075, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002501/0.4078, allocations: 19.95 kB / 1.332 GB, free: 11.46 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000125/0.4079, allocations: 115.1 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004233/0.4083, allocations: 95.91 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4083, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.4085, allocations: 71.81 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.4089, allocations: 12 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.4094, allocations: 170.3 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.007e-05/0.4094, allocations: 75.33 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.942e-05/0.4095, allocations: 12 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.483e-05/0.4096, allocations: 23.42 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.4096, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of Templates: time 0.004699/0.4143, allocations: 1.744 MB / 1.334 GB, free: 9.105 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.500824321992695]