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.001647/0.001647, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002001/0.002001, allocations: 218.5 kB / 22.99 MB, free: 4.914 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.126/3.126, allocations: 0.4892 GB / 0.7951 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 177] 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.002148/0.002148, allocations: 68.47 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3388, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002341/0.3412, allocations: 1.019 MB / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.3425, allocations: 0.995 MB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.224e-05/0.3426, allocations: 0 / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.51e-05/0.3426, allocations: 19.73 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.3428, allocations: 43.66 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.343, allocations: 71.84 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.3432, allocations: 227.4 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.3434, allocations: 53.14 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.3435, allocations: 95.62 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.3437, allocations: 91.59 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.768e-05/0.3437, allocations: 20 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.606e-05/0.3438, allocations: 20 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.3438, allocations: 47.83 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.335e-05/0.3439, allocations: 79.58 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.3442, allocations: 219 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3442, allocations: 3.938 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3442, allocations: 0 / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3442, allocations: 0 / 1.329 GB, free: 14.82 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.001166/0.3453, allocations: 0.4933 MB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.3454, allocations: 12.03 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.3454, allocations: 20.8 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.3457, allocations: 170.1 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.3457, allocations: 12.38 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.3457, allocations: 16.38 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007558/0.3465, allocations: 246 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3465, allocations: 192 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.3465, allocations: 7.938 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3465, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.3476, allocations: 299.6 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006531/0.3483, allocations: 384.1 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007811/0.3491, allocations: 238.3 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006231/0.3497, allocations: 189 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.3497, allocations: 3.906 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.3498, allocations: 38.56 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.3498, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=17): time 0.001886/0.3516, allocations: 0.4913 MB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.3517, allocations: 55.34 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.3519, allocations: 174.3 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.3519, allocations: 33.7 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.381e-05/0.352, allocations: 132.4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.294e-05/0.352, allocations: 63.47 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.128e-05/0.3521, allocations: 33.61 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3523, allocations: 326.8 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006118/0.3529, allocations: 151.8 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006376/0.3535, allocations: 223.7 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.3546, allocations: 304.5 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3546, allocations: 0 / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001235/0.3559, allocations: 358.9 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3559, allocations: 4 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3559, allocations: 11.94 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3559, allocations: 0 / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.3563, allocations: 75.86 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.3563, allocations: 11.92 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.3567, allocations: 63.81 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.3567, allocations: 4 kB / 1.334 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.000123/0.3568, allocations: 121.8 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.3568, allocations: 19.86 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.095e-05/0.3569, allocations: 21.81 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.3569, allocations: 3.938 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3569, allocations: 0 / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3569, allocations: 3.984 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.3572, allocations: 177.2 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3572, allocations: 8 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004023/0.3576, allocations: 75.86 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3576, allocations: 3.984 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.3576, allocations: 0 / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3576, allocations: 4 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3576, allocations: 3.938 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/0.3595, allocations: 0.6288 MB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.891e-05/0.3595, allocations: 15.88 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.3596, allocations: 11.98 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.3599, allocations: 55.92 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.36, allocations: 27.84 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.36, allocations: 4 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00011/0.3601, allocations: 135.1 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3601, allocations: 4.062 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000277/0.3604, allocations: 43.89 kB / 1.335 GB, free: 8.637 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.0001337/0.3605, allocations: 95.25 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.3618, allocations: 325.5 kB / 1.335 GB, free: 8.215 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3618, allocations: 0 / 1.335 GB, free: 8.215 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006118/0.3624, allocations: 171.8 kB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.3628, allocations: 37.34 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007582/0.3636, allocations: 391.9 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.3637, allocations: 116 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.992e-05/0.3638, allocations: 23.44 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3638, allocations: 3.938 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of Templates: time 0.004711/0.3685, allocations: 2.68 MB / 1.339 GB, free: 4.789 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/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: 11.202279155142605]