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.001936/0.001936, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.002172/0.002172, allocations: 174 kB / 22.46 MB, free: 5.355 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.537/1.537, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.931/2.931, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 0.9815 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.328e-05/3.557e-05, allocations: 2.281 kB / 0.9815 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002712/0.002747, allocations: 1.01 MB / 0.9825 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.004284, allocations: 0.9871 MB / 0.9835 GB, free: 8.82 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.497e-05/0.004359, allocations: 0 / 0.9835 GB, free: 8.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.416e-05/0.004413, allocations: 19.73 kB / 0.9835 GB, free: 8.801 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.004582, allocations: 51.59 kB / 0.9835 GB, free: 8.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.004805, allocations: 71.83 kB / 0.9836 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.005097, allocations: 223.3 kB / 0.9838 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.005272, allocations: 61.14 kB / 0.9839 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.005477, allocations: 131.7 kB / 0.984 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.00562, allocations: 79.77 kB / 0.9841 GB, free: 8.195 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.005667, allocations: 23.98 kB / 0.9841 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.734e-05/0.005705, allocations: 20 kB / 0.9841 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.005761, allocations: 51.77 kB / 0.9842 GB, free: 8.102 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.052e-05/0.005851, allocations: 63.83 kB / 0.9842 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.006154, allocations: 227.2 kB / 0.9844 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.006159, allocations: 0 / 0.9844 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of FrontEnd: time 6.41e-07/0.006159, allocations: 0 / 0.9844 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.006165, allocations: 0 / 0.9844 GB, free: 7.816 MB / 0.8887 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.001242/0.007407, allocations: 0.4933 MB / 0.9849 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.007445, allocations: 8.031 kB / 0.9849 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.251e-05/0.007507, allocations: 24.8 kB / 0.985 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.007752, allocations: 169.3 kB / 0.9851 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.007771, allocations: 12.38 kB / 0.9851 GB, free: 7.055 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.007812, allocations: 16.38 kB / 0.9851 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008189/0.008631, allocations: 246.5 kB / 0.9854 GB, free: 6.793 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.008642, allocations: 192 / 0.9854 GB, free: 6.793 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.008668, allocations: 12.36 kB / 0.9854 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.008676, allocations: 4.375 kB / 0.9854 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.009875, allocations: 295.6 kB / 0.9857 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/0.01059, allocations: 396 kB / 0.9861 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008238/0.01142, allocations: 230.4 kB / 0.9863 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006726/0.01209, allocations: 187.9 kB / 0.9865 GB, free: 5.652 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.01213, allocations: 7.906 kB / 0.9865 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.01216, allocations: 34.56 kB / 0.9865 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.01216, allocations: 0 / 0.9865 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of matching and sorting (n=17): time 0.002079/0.01424, allocations: 0.4911 MB / 0.987 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.0143, allocations: 55.41 kB / 0.987 GB, free: 5.039 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.01452, allocations: 180.2 kB / 0.9872 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.01455, allocations: 33.7 kB / 0.9872 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.01466, allocations: 128.5 kB / 0.9874 GB, free: 4.684 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.231e-05/0.01474, allocations: 63.47 kB / 0.9874 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.019e-05/0.01482, allocations: 33.62 kB / 0.9874 GB, free: 4.582 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.01501, allocations: 334.8 kB / 0.9878 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000611/0.01562, allocations: 143.8 kB / 0.9879 GB, free: 4.105 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006789/0.0163, allocations: 227 kB / 0.9881 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.01749, allocations: 298.6 kB / 0.9884 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.0175, allocations: 0 / 0.9884 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001325/0.01882, allocations: 373 kB / 0.9888 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.01884, allocations: 8 kB / 0.9888 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.01885, allocations: 0 / 0.9888 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.01886, allocations: 0 / 0.9888 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.0193, allocations: 79.91 kB / 0.9888 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.0193, allocations: 0 / 0.9888 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/0.01963, allocations: 67.8 kB / 0.9889 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.01965, allocations: 3.938 kB / 0.9889 GB, free: 3.043 MB / 0.8887 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.0001422/0.01979, allocations: 125.8 kB / 0.989 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/0.01984, allocations: 19.86 kB / 0.9891 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.032e-05/0.01989, allocations: 25.8 kB / 0.9891 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.01989, allocations: 4 kB / 0.9891 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.0199, allocations: 0 / 0.9891 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.0199, allocations: 0 / 0.9891 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.02018, allocations: 185.2 kB / 0.9893 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.02018, allocations: 0 / 0.9893 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.0206, allocations: 79.84 kB / 0.9893 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.0206, allocations: 4 kB / 0.9893 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.02062, allocations: 0 / 0.9893 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.02062, allocations: 0 / 0.9893 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.02062, allocations: 0 / 0.9893 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.02284, allocations: 0.6418 MB / 0.99 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.02287, allocations: 15.88 kB / 0.99 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.0229, allocations: 8 kB / 0.99 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.02324, allocations: 51.92 kB / 0.99 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-05/0.02334, allocations: 27.95 kB / 0.9901 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.02335, allocations: 4 kB / 0.9901 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001076/0.02346, allocations: 123.3 kB / 0.9902 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8e-08/0.02346, allocations: 4 kB / 0.9902 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002696/0.02373, allocations: 39.95 kB / 0.9902 GB, free: 1.648 MB / 0.8887 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.0001546/0.02388, allocations: 111.1 kB / 0.9903 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.02522, allocations: 319.5 kB / 0.9906 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02523, allocations: 8 kB / 0.9906 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006664/0.02589, allocations: 162.1 kB / 0.9908 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.02638, allocations: 35.97 kB / 0.9908 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000794/0.02718, allocations: 350.7 kB / 0.9912 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.0273, allocations: 128 kB / 0.9913 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 8.407e-05/0.02738, allocations: 9.156 kB / 0.9913 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.859e-05/0.02748, allocations: 28.48 kB / 0.9913 GB, free: 480 kB / 0.8887 GB Notification: Performance of SimCode: time 5.01e-07/0.02748, allocations: 0 / 0.9913 GB, free: 480 kB / 0.8887 GB Notification: Performance of Templates: time 0.007262/0.03474, allocations: 2.906 MB / 0.9942 GB, free: 13.62 MB / 0.9044 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: 8.478077128529549]