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.0009806/0.0009806, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008778/0.0008778, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8887/0.8887, allocations: 177.2 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.776/1.776, allocations: 377.8 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] 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.665e-06/2.665e-06, allocations: 0 / 0.9823 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.097e-05, allocations: 2.281 kB / 0.9823 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001766/0.001797, allocations: 0.9984 MB / 0.9833 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.003085, allocations: 0.9911 MB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.151e-05/0.003166, allocations: 4 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 4.711e-05/0.003213, allocations: 19.73 kB / 0.9843 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.003357, allocations: 39.52 kB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.003573, allocations: 75.83 kB / 0.9844 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.003782, allocations: 235.3 kB / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.003933, allocations: 49.14 kB / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.004068, allocations: 135.7 kB / 0.9848 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.004176, allocations: 83.77 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.257e-05/0.004218, allocations: 16 kB / 0.9849 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.065e-05/0.004239, allocations: 20 kB / 0.9849 GB, free: 15.32 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.499e-05/0.004274, allocations: 43.83 kB / 0.9849 GB, free: 15.28 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.099e-05/0.004325, allocations: 59.83 kB / 0.985 GB, free: 15.22 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.004544, allocations: 239.2 kB / 0.9852 GB, free: 14.99 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.004547, allocations: 0 / 0.9852 GB, free: 14.99 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.152e-06/0.004548, allocations: 4 kB / 0.9852 GB, free: 14.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.004553, allocations: 0 / 0.9852 GB, free: 14.98 MB / 0.948 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.000765/0.005318, allocations: 0.4894 MB / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.005358, allocations: 16.03 kB / 0.9857 GB, free: 14.45 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.005407, allocations: 20.8 kB / 0.9857 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.005594, allocations: 173.8 kB / 0.9859 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.005608, allocations: 12.38 kB / 0.9859 GB, free: 14.22 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.005637, allocations: 16.36 kB / 0.9859 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/0.006075, allocations: 250.5 kB / 0.9862 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.006086, allocations: 192 / 0.9862 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.006102, allocations: 4.375 kB / 0.9862 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.006109, allocations: 4.375 kB / 0.9862 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005809/0.00669, allocations: 295.5 kB / 0.9864 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/0.007237, allocations: 392.1 kB / 0.9868 GB, free: 13.24 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.007817, allocations: 234.4 kB / 0.987 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.008138, allocations: 176.7 kB / 0.9872 GB, free: 12.83 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.008168, allocations: 8 kB / 0.9872 GB, free: 12.82 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.008191, allocations: 30.56 kB / 0.9872 GB, free: 12.78 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 1.012e-06/0.008192, allocations: 4 kB / 0.9873 GB, free: 12.78 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.001006/0.009198, allocations: 0.4934 MB / 0.9877 GB, free: 12.28 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.00923, allocations: 55.41 kB / 0.9878 GB, free: 12.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.009345, allocations: 175.8 kB / 0.988 GB, free: 12.03 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.009366, allocations: 29.7 kB / 0.988 GB, free: 11.99 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.009427, allocations: 132.5 kB / 0.9881 GB, free: 11.86 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.00947, allocations: 59.47 kB / 0.9882 GB, free: 11.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.009522, allocations: 33.7 kB / 0.9882 GB, free: 11.76 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.009608, allocations: 334.8 kB / 0.9885 GB, free: 11.43 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.0099, allocations: 143.8 kB / 0.9887 GB, free: 11.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.01023, allocations: 229.7 kB / 0.9889 GB, free: 11.04 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005608/0.01079, allocations: 307 kB / 0.9892 GB, free: 10.74 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.01079, allocations: 3.938 kB / 0.9892 GB, free: 10.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000636/0.01143, allocations: 361.1 kB / 0.9895 GB, free: 10.38 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.01144, allocations: 10.17 kB / 0.9895 GB, free: 10.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.01145, allocations: 0 / 0.9895 GB, free: 10.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.01146, allocations: 4 kB / 0.9895 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.01168, allocations: 75.86 kB / 0.9896 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.01168, allocations: 0 / 0.9896 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.01183, allocations: 67.75 kB / 0.9897 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.01184, allocations: 8 kB / 0.9897 GB, free: 10.21 MB / 0.948 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 8.832e-05/0.01193, allocations: 129.8 kB / 0.9898 GB, free: 10.08 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.01195, allocations: 11.91 kB / 0.9898 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.01199, allocations: 21.81 kB / 0.9898 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01199, allocations: 4 kB / 0.9898 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.012, allocations: 0 / 0.9898 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.012, allocations: 7.922 kB / 0.9898 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.01217, allocations: 185.1 kB / 0.99 GB, free: 9.824 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01218, allocations: 0 / 0.99 GB, free: 9.824 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.01237, allocations: 79.86 kB / 0.9901 GB, free: 9.746 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01238, allocations: 0 / 0.9901 GB, free: 9.746 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.01239, allocations: 7.984 kB / 0.9901 GB, free: 9.738 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01239, allocations: 0 / 0.9901 GB, free: 9.738 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.01239, allocations: 0 / 0.9901 GB, free: 9.738 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.01343, allocations: 0.6238 MB / 0.9907 GB, free: 9.098 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.01346, allocations: 23.88 kB / 0.9907 GB, free: 9.074 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.01348, allocations: 0 / 0.9907 GB, free: 9.074 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.01363, allocations: 55.98 kB / 0.9908 GB, free: 9.02 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.01371, allocations: 31.89 kB / 0.9908 GB, free: 8.988 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.01372, allocations: 8 kB / 0.9908 GB, free: 8.98 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.24e-05/0.01379, allocations: 127.2 kB / 0.9909 GB, free: 8.855 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01379, allocations: 0 / 0.9909 GB, free: 8.855 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001842/0.01397, allocations: 39.95 kB / 0.991 GB, free: 8.816 MB / 0.948 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.0001398/0.01411, allocations: 106.4 kB / 0.9911 GB, free: 8.707 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006589/0.01477, allocations: 321.9 kB / 0.9914 GB, free: 8.395 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01477, allocations: 0 / 0.9914 GB, free: 8.395 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.01509, allocations: 171.8 kB / 0.9916 GB, free: 8.227 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.0154, allocations: 27.97 kB / 0.9916 GB, free: 8.199 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005958/0.016, allocations: 404.1 kB / 0.992 GB, free: 7.77 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.842e-05/0.01608, allocations: 120.1 kB / 0.9921 GB, free: 7.629 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.01615, allocations: 16.5 kB / 0.9921 GB, free: 7.613 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/0.01615, allocations: 0 / 0.9921 GB, free: 7.613 MB / 0.948 GB Notification: Performance of Templates: time 0.003314/0.01947, allocations: 2.688 MB / 0.9947 GB, free: 4.949 MB / 0.948 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: 6.710130343213677]