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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009051/0.009051, allocations: 98.45 kB / 15.73 MB, free: 6.059 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.001765/0.001765, allocations: 195.9 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.193/2.193, allocations: 222.9 MB / 240.4 MB, free: 15.14 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 3.624/3.624, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 71.89 kB / 0.9505 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9583/0.9599, allocations: 140.4 MB / 1.088 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.004358/0.9644, allocations: 1.098 MB / 1.089 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002576/0.967, allocations: 0.9572 MB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.9672, allocations: 6.781 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.9674, allocations: 18.47 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003545/0.9678, allocations: 35.12 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.9683, allocations: 71.69 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005598/0.9688, allocations: 222.9 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003031/0.9692, allocations: 72.12 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.9695, allocations: 98.91 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.9698, allocations: 101.8 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.97, allocations: 19.09 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.9701, allocations: 22.53 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.9702, allocations: 43.56 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.9705, allocations: 95.56 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005561/0.9711, allocations: 217 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.9711, allocations: 1.125 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9711, allocations: 4 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.9712, allocations: 0 / 1.091 GB, free: 3.285 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.002063/0.9732, allocations: 0.5584 MB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.9733, allocations: 9.406 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.657e-05/0.9734, allocations: 45.98 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.9735, allocations: 19.52 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.9739, allocations: 226.6 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.9739, allocations: 10.39 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-05/0.974, allocations: 14 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.9755, allocations: 241.4 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.9756, allocations: 3.938 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.9756, allocations: 5.5 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.9757, allocations: 6.922 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002363/0.978, allocations: 295.9 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.9797, allocations: 491.9 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.9815, allocations: 247.3 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.983, allocations: 193.9 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.044e-05/0.9831, allocations: 1.719 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.181e-05/0.9832, allocations: 40.33 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 6.552e-06/0.9832, allocations: 0 / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.004226/0.9875, allocations: 0.5004 MB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.9875, allocations: 54.55 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004152/0.988, allocations: 171.3 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.417e-05/0.988, allocations: 30.83 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.9882, allocations: 126.1 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.9884, allocations: 63.5 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.9886, allocations: 29.48 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.9888, allocations: 333 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.9901, allocations: 143.3 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.9913, allocations: 152 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/0.9935, allocations: 301.8 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.9936, allocations: 0 / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002672/0.9963, allocations: 365.5 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/0.9963, allocations: 4.969 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.9964, allocations: 4.547 kB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.595e-05/0.9964, allocations: 0.9375 kB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008363/0.9973, allocations: 81.34 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.9973, allocations: 0.5 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005979/0.9979, allocations: 61.31 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.9979, allocations: 8.156 kB / 1.095 GB, free: 0.7812 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.0001934/0.9982, allocations: 125.2 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.959e-05/0.9983, allocations: 15.58 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.124e-05/0.9984, allocations: 27.83 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.9984, allocations: 1.766 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.9984, allocations: 0.5625 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.9984, allocations: 2 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.9989, allocations: 276.6 kB / 1.096 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.999, allocations: 0.6875 kB / 1.096 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007772/0.9998, allocations: 79.91 kB / 1.096 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.9998, allocations: 1.281 kB / 1.096 GB, free: 396 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.9998, allocations: 9.641 kB / 1.096 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.9998, allocations: 0.5 kB / 1.096 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.9999, allocations: 0.6094 kB / 1.096 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003759/1.004, allocations: 0.6252 MB / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-05/1.004, allocations: 90.48 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.902e-05/1.004, allocations: 9.625 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006386/1.004, allocations: 48.77 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/1.005, allocations: 27.3 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/1.005, allocations: 7.172 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002837/1.005, allocations: 131.8 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6.31e-07/1.005, allocations: 0 / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006072/1.006, allocations: 42.06 kB / 1.097 GB, free: 15.91 MB / 0.8731 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.004726/1.01, allocations: 1.177 MB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002513/1.013, allocations: 322.7 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.013, allocations: 1.062 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/1.014, allocations: 187.2 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009503/1.015, allocations: 36.78 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/1.025, allocations: 2.52 MB / 1.101 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005644/1.026, allocations: 0.7325 MB / 1.101 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002233/1.026, allocations: 14.45 kB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/1.026, allocations: 58.16 kB / 1.102 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of SimCode: time 1.142e-06/1.026, allocations: 0 / 1.102 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0462/1.073, allocations: 4.642 MB / 1.106 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.4, allocations: 7.031 kB / 1.106 GB, free: 12.15 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate.fmu > 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/jenkins1/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