Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.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.001428/0.001428, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002018/0.002018, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.594/1.594, allocations: 230.6 MB / 256 MB, free: 7.785 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.436/3.436, allocations: 0.4892 GB / 0.7943 GB, free: 35.44 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.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") [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.002125/0.002125, allocations: 72.75 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3894, allocations: 176.1 MB / 1.326 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002502/0.3919, allocations: 1.012 MB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3933, allocations: 0.9949 MB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.164e-05/0.3934, allocations: 4 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.615e-05/0.3934, allocations: 23.73 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.3936, allocations: 39.59 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.3938, allocations: 63.92 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.3941, allocations: 231.3 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.3943, allocations: 53.14 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.3944, allocations: 91.69 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.3946, allocations: 99.52 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.3946, allocations: 20 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.366e-05/0.3947, allocations: 23.94 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.3947, allocations: 43.84 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.414e-05/0.3948, allocations: 79.58 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.3951, allocations: 219.1 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3951, allocations: 0 / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3951, allocations: 3.938 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.014e-06/0.3951, allocations: 0 / 1.328 GB, free: 14.8 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001195/0.3963, allocations: 0.4894 MB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3963, allocations: 8.031 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.3964, allocations: 24.8 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.3966, allocations: 170.2 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.3967, allocations: 12.31 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.3967, allocations: 20.31 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/0.3975, allocations: 242 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3975, allocations: 192 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.3975, allocations: 11.94 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3975, allocations: 4 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.3987, allocations: 291.7 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008687/0.3996, allocations: 384.1 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008442/0.4004, allocations: 242.3 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006588/0.4011, allocations: 180.7 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/0.4011, allocations: 8.297 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.4012, allocations: 30.56 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.4012, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.001948/0.4031, allocations: 0.4945 MB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.4032, allocations: 67.28 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.4034, allocations: 178.3 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.4034, allocations: 25.7 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.4035, allocations: 124.4 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/0.4036, allocations: 63.47 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.849e-05/0.4037, allocations: 37.7 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002115/0.4039, allocations: 334.8 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000574/0.4045, allocations: 147.8 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006553/0.4051, allocations: 231.4 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.4063, allocations: 293.8 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.4063, allocations: 0 / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001265/0.4075, allocations: 365.1 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4076, allocations: 9.719 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4076, allocations: 0 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4076, allocations: 0 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/0.408, allocations: 79.84 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.408, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.4083, allocations: 63.81 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.4083, allocations: 4 kB / 1.333 GB, free: 10.05 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 (18): * Single equations (assignments): 18 * 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.000136/0.4085, allocations: 129.8 kB / 1.333 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.4085, allocations: 15.91 kB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.797e-05/0.4086, allocations: 29.73 kB / 1.333 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4086, allocations: 3.938 kB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.4086, allocations: 11.98 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.4086, allocations: 0 / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.4089, allocations: 181.2 kB / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4089, allocations: 0 / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000396/0.4093, allocations: 71.91 kB / 1.333 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4093, allocations: 0 / 1.333 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.4093, allocations: 8 kB / 1.333 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.4093, allocations: 4 kB / 1.333 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4093, allocations: 3.938 kB / 1.333 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.4113, allocations: 0.6316 MB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.4114, allocations: 15.88 kB / 1.334 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.4114, allocations: 8 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.4117, allocations: 47.92 kB / 1.334 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.939e-05/0.4118, allocations: 27.97 kB / 1.334 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.4118, allocations: 11.98 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001289/0.412, allocations: 127.1 kB / 1.334 GB, free: 8.672 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.412, allocations: 0 / 1.334 GB, free: 8.672 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002763/0.4122, allocations: 39.95 kB / 1.334 GB, free: 8.633 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (sleRatLim.y) * 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 (17): * Single equations (assignments): 17 * 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.0001752/0.4124, allocations: 103.2 kB / 1.334 GB, free: 8.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.4137, allocations: 321.8 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4137, allocations: 0 / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006334/0.4144, allocations: 171.8 kB / 1.335 GB, free: 8.039 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.4148, allocations: 43.84 kB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008316/0.4157, allocations: 367.1 kB / 1.335 GB, free: 7.613 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.4158, allocations: 124 kB / 1.335 GB, free: 7.477 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.654e-05/0.4159, allocations: 9.094 kB / 1.335 GB, free: 7.469 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.309e-05/0.416, allocations: 19.44 kB / 1.335 GB, free: 7.449 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.416, allocations: 0 / 1.335 GB, free: 7.449 MB / 1.029 GB Notification: Performance of Templates: time 0.007514/0.4235, allocations: 3.092 MB / 1.338 GB, free: 4.414 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.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.816168634220958]