Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 196.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.582/2.582, allocations: 437 MB / 0.7103 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001477, allocations: 59.91 kB / 0.8692 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7202/0.7217, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002817/0.7245, allocations: 1.083 MB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.726, allocations: 0.9674 MB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.106e-05/0.7261, allocations: 4 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.506e-05/0.7262, allocations: 19.73 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.7264, allocations: 35.66 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.7266, allocations: 75.84 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.7268, allocations: 223.4 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.727, allocations: 71.36 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.7271, allocations: 99.55 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.7273, allocations: 111.5 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.7273, allocations: 20 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.511e-05/0.7274, allocations: 20 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.992e-05/0.7274, allocations: 51.83 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.219e-05/0.7275, allocations: 83.47 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.7278, allocations: 213.2 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.7278, allocations: 4 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7278, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.7278, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 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.001161/0.729, allocations: 0.5532 MB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.729, allocations: 12.03 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.93e-05/0.7291, allocations: 20.66 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.7293, allocations: 227.9 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.7293, allocations: 16.36 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.7294, allocations: 16.31 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007881/0.7302, allocations: 242 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.7302, allocations: 192 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.7302, allocations: 7.938 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.7302, allocations: 8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.7314, allocations: 295.7 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006559/0.732, allocations: 0.4884 MB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007467/0.7328, allocations: 246.4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006198/0.7334, allocations: 188.7 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.7335, allocations: 7.938 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.7335, allocations: 38.55 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=17): time 1.392e-06/0.7335, allocations: 0 / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17): time 0.001899/0.7354, allocations: 0.4986 MB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.7355, allocations: 55.41 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.7356, allocations: 179.5 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.7356, allocations: 25.7 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.7357, allocations: 128.2 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.009e-05/0.7358, allocations: 51.27 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/0.7359, allocations: 33.7 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.736, allocations: 334.8 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005789/0.7366, allocations: 143.8 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006028/0.7372, allocations: 179.7 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.7383, allocations: 306.6 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7383, allocations: 0 / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001219/0.7396, allocations: 357.1 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.7396, allocations: 4.938 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.7396, allocations: 4 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.7396, allocations: 11.88 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.7401, allocations: 75.84 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.7401, allocations: 0 / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.7404, allocations: 67.77 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.7404, allocations: 4 kB / 1.025 GB, free: 10.45 MB / 0.7794 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.0001101/0.7405, allocations: 121.8 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.7406, allocations: 15.81 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.012e-05/0.7406, allocations: 29.8 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.7407, allocations: 4 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.7407, allocations: 3.938 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.7407, allocations: 0 / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.741, allocations: 273.4 kB / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.741, allocations: 7.984 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.7414, allocations: 71.92 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7414, allocations: 0 / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.7414, allocations: 3.938 kB / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.7414, allocations: 4 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.7414, allocations: 0 / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.7434, allocations: 0.6366 MB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.7435, allocations: 92.95 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.7435, allocations: 3.938 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.7438, allocations: 51.92 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/0.7439, allocations: 28.03 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.744, allocations: 8 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.998e-05/0.7441, allocations: 132.4 kB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7441, allocations: 0 / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002696/0.7443, allocations: 39.94 kB / 1.026 GB, free: 8.852 MB / 0.7794 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.0001464/0.7445, allocations: 103.2 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00134/0.7458, allocations: 337.2 kB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7459, allocations: 0 / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006308/0.7465, allocations: 175.8 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/0.747, allocations: 37.45 kB / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007384/0.7477, allocations: 374.9 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.748, allocations: 0.7279 MB / 1.028 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.559e-05/0.7481, allocations: 17.08 kB / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.7482, allocations: 19.44 kB / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.7482, allocations: 0 / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of Templates: time 0.005655/0.7538, allocations: 2.717 MB / 1.031 GB, free: 4.336 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches