Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sleRatLim.u|sleRatLim.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008351/0.008351, allocations: 99.27 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 196.6 kB / 16.68 MB, free: 5.93 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.91 kB / 0.9509 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.01, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.002642/1.013, allocations: 1.109 MB / 1.089 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001586/1.014, allocations: 0.9567 MB / 1.09 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/1.014, allocations: 2.031 kB / 1.09 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.363e-05/1.015, allocations: 18.94 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002085/1.015, allocations: 41.2 kB / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000305/1.015, allocations: 63.75 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004101/1.016, allocations: 227.4 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002647/1.016, allocations: 72.31 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/1.016, allocations: 94.56 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/1.016, allocations: 104.7 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.541e-05/1.016, allocations: 19.16 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.387e-05/1.016, allocations: 22.62 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.837e-05/1.016, allocations: 43.41 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/1.017, allocations: 95.92 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003677/1.017, allocations: 219.2 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/1.017, allocations: 1.766 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.914e-06/1.017, allocations: 0 / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.104e-06/1.017, allocations: 0 / 1.091 GB, free: 3.527 MB / 0.8575 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.001278/1.018, allocations: 0.5649 MB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.018, allocations: 10.89 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.743e-05/1.018, allocations: 21.92 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/1.019, allocations: 231.3 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/1.019, allocations: 10.03 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.285e-05/1.019, allocations: 12.91 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009253/1.02, allocations: 242.3 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/1.02, allocations: 4.875 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/1.02, allocations: 8.594 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/1.02, allocations: 3.625 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/1.021, allocations: 291.7 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008737/1.022, allocations: 491.8 kB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/1.023, allocations: 244 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008614/1.024, allocations: 192.4 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.413e-05/1.024, allocations: 3.375 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/1.024, allocations: 39.06 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 2.305e-06/1.024, allocations: 0.75 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.00257/1.027, allocations: 0.4996 MB / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/1.027, allocations: 54.02 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/1.027, allocations: 170.6 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/1.027, allocations: 31.23 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/1.027, allocations: 130 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.707e-05/1.027, allocations: 59.69 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.759e-05/1.027, allocations: 34.86 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.027, allocations: 327.5 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000768/1.028, allocations: 144.6 kB / 1.095 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007343/1.029, allocations: 156.3 kB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/1.03, allocations: 300.8 kB / 1.095 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/1.03, allocations: 0 / 1.095 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001544/1.032, allocations: 359.2 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/1.032, allocations: 8.781 kB / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.032, allocations: 4 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/1.032, allocations: 5.812 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/1.033, allocations: 76.92 kB / 1.096 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/1.033, allocations: 1 kB / 1.096 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/1.033, allocations: 64.78 kB / 1.096 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/1.033, allocations: 4.641 kB / 1.096 GB, free: 1.062 MB / 0.8575 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.0001441/1.033, allocations: 120.7 kB / 1.096 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/1.033, allocations: 23.59 kB / 1.096 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.954e-05/1.033, allocations: 27.64 kB / 1.096 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/1.033, allocations: 2.031 kB / 1.096 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.033, allocations: 0.7031 kB / 1.096 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.033, allocations: 5.609 kB / 1.096 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/1.034, allocations: 273.4 kB / 1.096 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.034, allocations: 4.516 kB / 1.096 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004875/1.034, allocations: 79.3 kB / 1.096 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/1.034, allocations: 1.781 kB / 1.096 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/1.034, allocations: 5.281 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/1.034, allocations: 1.188 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.034, allocations: 0 / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/1.036, allocations: 0.6278 MB / 1.097 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/1.037, allocations: 98.7 kB / 1.097 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/1.037, allocations: 13.19 kB / 1.097 GB, free: 300 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/1.037, allocations: 52.19 kB / 1.097 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.037, allocations: 28.06 kB / 1.097 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/1.037, allocations: 3.719 kB / 1.097 GB, free: 284 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001457/1.037, allocations: 134.9 kB / 1.097 GB, free: 188 kB / 0.8575 GB Notification: Performance of sort global known variables: time 2.31e-07/1.037, allocations: 0 / 1.097 GB, free: 188 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003163/1.038, allocations: 38.16 kB / 1.097 GB, free: 180 kB / 0.8575 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.0002067/1.038, allocations: 101.4 kB / 1.097 GB, free: 88 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001451/1.039, allocations: 329.6 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.039, allocations: 1.125 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007679/1.04, allocations: 173.5 kB / 1.098 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/1.041, allocations: 30.72 kB / 1.098 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009136/1.041, allocations: 377.5 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/1.042, allocations: 0.7243 MB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001188/1.042, allocations: 18.56 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.654e-05/1.042, allocations: 24.34 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of SimCode: time 5.71e-07/1.042, allocations: 1.094 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of Templates: time 0.008985/1.051, allocations: 2.682 MB / 1.101 GB, free: 14.82 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches