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.001838/0.001838, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002315/0.002315, allocations: 216.4 kB / 22.25 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 8.004 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.35/3.35, allocations: 0.49 GB / 0.7951 GB, free: 33.46 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.002185/0.002185, allocations: 68.2 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4148, allocations: 176.1 MB / 1.326 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002664/0.4175, allocations: 1.112 MB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.4191, allocations: 1.003 MB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.409e-05/0.4192, allocations: 4 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.222e-05/0.4192, allocations: 19.73 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.4194, allocations: 43.59 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.4196, allocations: 67.84 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.4199, allocations: 231.4 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.4201, allocations: 53.17 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.4202, allocations: 95.69 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.4204, allocations: 107.5 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.4205, allocations: 20 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.68e-05/0.4205, allocations: 20 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.4206, allocations: 55.81 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.4207, allocations: 91.47 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.421, allocations: 211 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.421, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.512e-06/0.421, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.421, allocations: 0 / 1.329 GB, free: 14.27 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.001289/0.4223, allocations: 0.4933 MB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4223, allocations: 8.031 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.851e-05/0.4224, allocations: 28.73 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.4227, allocations: 174.1 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.4227, allocations: 8.375 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.4227, allocations: 16.38 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008004/0.4235, allocations: 246 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4235, allocations: 192 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.4236, allocations: 7.938 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.4236, allocations: 8 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.4247, allocations: 287.7 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000785/0.4255, allocations: 459.4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000752/0.4262, allocations: 234.4 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006821/0.4269, allocations: 186.5 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.4269, allocations: 7.984 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.427, allocations: 34.56 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 2.244e-06/0.427, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.001894/0.4289, allocations: 0.505 MB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.4289, allocations: 55.41 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.4291, allocations: 170.3 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.4291, allocations: 33.7 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.558e-05/0.4292, allocations: 128.4 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.599e-05/0.4293, allocations: 59.48 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.4294, allocations: 29.72 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.4296, allocations: 330.8 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000658/0.4302, allocations: 155.8 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006336/0.4309, allocations: 175.6 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.432, allocations: 298.3 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.432, allocations: 0 / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001317/0.4333, allocations: 367 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4334, allocations: 4 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4334, allocations: 0 / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.4334, allocations: 3.938 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.4338, allocations: 75.91 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4338, allocations: 0 / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.4341, allocations: 67.81 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.4341, allocations: 12 kB / 1.334 GB, free: 9.48 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.0001724/0.4343, allocations: 121.8 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.4344, allocations: 23.83 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.272e-05/0.4344, allocations: 25.75 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4344, allocations: 4 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4344, allocations: 4 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4344, allocations: 0 / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003678/0.4348, allocations: 240.5 kB / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4348, allocations: 4 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004229/0.4352, allocations: 79.84 kB / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4352, allocations: 0 / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.4353, allocations: 7.938 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.4353, allocations: 8 kB / 1.334 GB, free: 8.914 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4353, allocations: 0 / 1.334 GB, free: 8.914 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.4372, allocations: 0.626 MB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.4372, allocations: 23.83 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.4373, allocations: 3.938 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.4376, allocations: 55.98 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-05/0.4377, allocations: 23.97 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.4377, allocations: 8 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001171/0.4378, allocations: 131.1 kB / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4378, allocations: 0 / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003153/0.4381, allocations: 39.95 kB / 1.335 GB, free: 7.992 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.0001611/0.4383, allocations: 103.2 kB / 1.335 GB, free: 7.879 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.4396, allocations: 319.6 kB / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4396, allocations: 0 / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006166/0.4402, allocations: 171.8 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.4406, allocations: 31.91 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008004/0.4414, allocations: 378.7 kB / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.4418, allocations: 0.7279 MB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.404e-05/0.4419, allocations: 9.078 kB / 1.337 GB, free: 6.211 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.6e-05/0.442, allocations: 19.44 kB / 1.337 GB, free: 6.191 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.442, allocations: 0 / 1.337 GB, free: 6.191 MB / 1.029 GB Notification: Performance of Templates: time 0.00727/0.4492, allocations: 2.813 MB / 1.34 GB, free: 3.41 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.574316428042948]