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.001666/0.001666, 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.001688/0.001688, allocations: 209.5 kB / 22.99 MB, free: 4.957 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.352/3.352, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.002121/0.002121, allocations: 66.19 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4208, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002674/0.4234, allocations: 1.031 MB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.425, allocations: 0.9795 MB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.889e-05/0.4251, allocations: 3.938 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.929e-05/0.4252, allocations: 19.73 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.4253, allocations: 47.66 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.4256, allocations: 71.83 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000282/0.4259, allocations: 223.4 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.426, allocations: 57.16 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.4262, allocations: 99.62 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.4263, allocations: 111.5 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.4264, allocations: 20 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.681e-05/0.4264, allocations: 20 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.4265, allocations: 43.83 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.681e-05/0.4266, allocations: 75.59 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.4269, allocations: 223 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4269, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4269, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.4269, allocations: 0 / 1.33 GB, free: 13.91 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.001214/0.4281, allocations: 0.4987 MB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.4281, allocations: 12.03 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.4282, allocations: 20.8 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.4284, allocations: 162.1 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.4285, allocations: 12.38 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.4285, allocations: 12.38 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008096/0.4293, allocations: 250 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4293, allocations: 4.125 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.4293, allocations: 7.938 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.4293, allocations: 4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.4305, allocations: 295.6 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007131/0.4312, allocations: 388.1 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008029/0.432, allocations: 238.4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006466/0.4327, allocations: 181 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.4327, allocations: 7.906 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.4327, allocations: 34.56 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.4327, allocations: 4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.002007/0.4347, allocations: 0.4948 MB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.4348, allocations: 55.34 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.435, allocations: 174.3 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.435, allocations: 29.7 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.864e-05/0.4351, allocations: 132.4 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.643e-05/0.4352, allocations: 59.48 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.836e-05/0.4353, allocations: 37.61 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.4354, allocations: 326.8 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006128/0.436, allocations: 147.8 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007072/0.4367, allocations: 227.7 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.438, allocations: 300.6 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.438, allocations: 0 / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00135/0.4394, allocations: 366.5 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.4394, allocations: 4 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.4394, allocations: 4 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.4394, allocations: 4 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/0.4398, allocations: 75.86 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4399, allocations: 0 / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.4402, allocations: 67.81 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.4402, allocations: 7.984 kB / 1.335 GB, free: 9.148 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.000197/0.4404, allocations: 125.8 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.4404, allocations: 15.89 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.817e-05/0.4405, allocations: 21.81 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.4405, allocations: 7.938 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4405, allocations: 3.938 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4405, allocations: 3.984 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.4408, allocations: 181.2 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4408, allocations: 4 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004128/0.4413, allocations: 79.86 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4413, allocations: 0 / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.4413, allocations: 3.984 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.4413, allocations: 0 / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.4413, allocations: 3.938 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001989/0.4433, allocations: 0.6291 MB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.4433, allocations: 19.88 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.4433, allocations: 11.92 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.4437, allocations: 51.92 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.952e-05/0.4438, allocations: 27.91 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.4438, allocations: 4 kB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001233/0.4439, allocations: 135.1 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4439, allocations: 64 / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002943/0.4442, allocations: 43.95 kB / 1.336 GB, free: 7.727 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.0002293/0.4444, allocations: 95.19 kB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.4459, allocations: 329.1 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4459, allocations: 0 / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006523/0.4465, allocations: 167.8 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.447, allocations: 37.86 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008838/0.4479, allocations: 364.6 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.448, allocations: 116 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.912e-05/0.4481, allocations: 13.08 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.191e-05/0.4482, allocations: 23.44 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of SimCode: time 8.52e-07/0.4482, allocations: 0 / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of Templates: time 0.007407/0.4556, allocations: 3.139 MB / 1.34 GB, free: 3.473 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 -s cvode -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/jenkins1/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.71167064801557]