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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002213/0.002213, allocations: 106 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002604/0.002604, allocations: 190.3 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.668/1.668, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.388/3.388, allocations: 495.8 MB / 0.783 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 62.22 kB / 1.137 GB, free: 33.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3666, allocations: 173.6 MB / 1.307 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002393/0.369, allocations: 1.118 MB / 1.308 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3702, allocations: 0.9675 MB / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.958e-05/0.3703, allocations: 0 / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.575e-05/0.3704, allocations: 19.73 kB / 1.309 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.3705, allocations: 47.59 kB / 1.309 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.3707, allocations: 63.91 kB / 1.309 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.371, allocations: 223.4 kB / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.3712, allocations: 64.89 kB / 1.309 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.3713, allocations: 99.64 kB / 1.309 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.3715, allocations: 111.5 kB / 1.309 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.232e-05/0.3715, allocations: 20 kB / 1.309 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.416e-05/0.3716, allocations: 20 kB / 1.309 GB, free: 15.01 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/0.3716, allocations: 43.83 kB / 1.31 GB, free: 14.96 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.748e-05/0.3717, allocations: 87.47 kB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.372, allocations: 223 kB / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.372, allocations: 0 / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.793e-06/0.372, allocations: 0 / 1.31 GB, free: 14.66 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.372, allocations: 4 kB / 1.31 GB, free: 14.66 MB / 1.014 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.001241/0.3733, allocations: 497.2 kB / 1.31 GB, free: 14.14 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3733, allocations: 16.03 kB / 1.31 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.147e-05/0.3734, allocations: 20.8 kB / 1.31 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.3736, allocations: 171.9 kB / 1.31 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.3736, allocations: 12.38 kB / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.3737, allocations: 16.38 kB / 1.311 GB, free: 13.88 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008292/0.3745, allocations: 247.3 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.3745, allocations: 192 / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.3745, allocations: 7.938 kB / 1.311 GB, free: 13.63 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3745, allocations: 4 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.3758, allocations: 295.7 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007596/0.3765, allocations: 455.4 kB / 1.311 GB, free: 12.85 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008401/0.3774, allocations: 242.3 kB / 1.312 GB, free: 12.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000723/0.3781, allocations: 186.4 kB / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.3781, allocations: 0 / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3782, allocations: 34.56 kB / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.3782, allocations: 0 / 1.312 GB, free: 12.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=17): time 0.002097/0.3803, allocations: 0.4943 MB / 1.312 GB, free: 11.88 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.3803, allocations: 51.41 kB / 1.312 GB, free: 11.81 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.3805, allocations: 187.4 kB / 1.313 GB, free: 11.62 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.3806, allocations: 29.7 kB / 1.313 GB, free: 11.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/0.3807, allocations: 132.3 kB / 1.313 GB, free: 11.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.3807, allocations: 71.3 kB / 1.313 GB, free: 11.38 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.3808, allocations: 37.7 kB / 1.313 GB, free: 11.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.381, allocations: 322.8 kB / 1.313 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006462/0.3816, allocations: 151.8 kB / 1.313 GB, free: 10.87 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006619/0.3823, allocations: 172 kB / 1.314 GB, free: 10.69 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.3836, allocations: 306.8 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3836, allocations: 4 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001344/0.385, allocations: 353.2 kB / 1.314 GB, free: 10.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.385, allocations: 4 kB / 1.314 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.385, allocations: 0 / 1.314 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.385, allocations: 7.922 kB / 1.314 GB, free: 10.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004465/0.3854, allocations: 83.86 kB / 1.314 GB, free: 9.941 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.3854, allocations: 0 / 1.314 GB, free: 9.941 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.3858, allocations: 63.81 kB / 1.314 GB, free: 9.879 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.3858, allocations: 4 kB / 1.314 GB, free: 9.875 MB / 1.014 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.0001364/0.3859, allocations: 137.7 kB / 1.314 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.386, allocations: 15.91 kB / 1.314 GB, free: 9.715 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.351e-05/0.386, allocations: 25.75 kB / 1.314 GB, free: 9.691 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.386, allocations: 4 kB / 1.314 GB, free: 9.688 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.386, allocations: 0 / 1.314 GB, free: 9.688 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.386, allocations: 3.984 kB / 1.314 GB, free: 9.684 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.3864, allocations: 240.5 kB / 1.315 GB, free: 9.406 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3864, allocations: 3.984 kB / 1.315 GB, free: 9.402 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/0.3868, allocations: 83.91 kB / 1.315 GB, free: 9.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3868, allocations: 0 / 1.315 GB, free: 9.32 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.3868, allocations: 3.938 kB / 1.315 GB, free: 9.316 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3868, allocations: 4 kB / 1.315 GB, free: 9.312 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3868, allocations: 0 / 1.315 GB, free: 9.312 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.389, allocations: 0.6258 MB / 1.315 GB, free: 8.672 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.389, allocations: 27.86 kB / 1.315 GB, free: 8.645 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.389, allocations: 7.938 kB / 1.315 GB, free: 8.637 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.3894, allocations: 51.92 kB / 1.315 GB, free: 8.586 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.773e-05/0.3895, allocations: 23.97 kB / 1.316 GB, free: 8.562 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.3895, allocations: 4 kB / 1.316 GB, free: 8.559 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001073/0.3896, allocations: 135.3 kB / 1.316 GB, free: 8.426 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3896, allocations: 3.938 kB / 1.316 GB, free: 8.422 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002719/0.3899, allocations: 35.95 kB / 1.316 GB, free: 8.387 MB / 1.014 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.0001526/0.39, allocations: 95.25 kB / 1.316 GB, free: 8.281 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.3914, allocations: 329.3 kB / 1.316 GB, free: 7.961 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3914, allocations: 0 / 1.316 GB, free: 7.961 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000679/0.3921, allocations: 163.8 kB / 1.316 GB, free: 7.801 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.3925, allocations: 35.92 kB / 1.316 GB, free: 7.766 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007935/0.3933, allocations: 372.5 kB / 1.317 GB, free: 7.375 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.3937, allocations: 0.7278 MB / 1.317 GB, free: 6.621 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.187e-05/0.3938, allocations: 13.08 kB / 1.317 GB, free: 6.609 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.3939, allocations: 19.44 kB / 1.317 GB, free: 6.59 MB / 1.014 GB Notification: Performance of SimCode: time 7.62e-07/0.3939, allocations: 4 kB / 1.317 GB, free: 6.586 MB / 1.014 GB Notification: Performance of Templates: time 0.006581/0.4005, allocations: 2.814 MB / 1.32 GB, free: 3.805 MB / 1.014 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.786550254561007]