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.006178/0.006178, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001369/0.001369, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.162/2.162, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.91 kB / 0.9505 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7145/0.7158, allocations: 140.4 MB / 1.088 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.001978/0.7178, allocations: 1.109 MB / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.7189, allocations: 0.9534 MB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.439e-05/0.719, allocations: 3.125 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.511e-05/0.719, allocations: 22.89 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.7191, allocations: 35.08 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.7194, allocations: 67.45 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.7197, allocations: 223.5 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.7199, allocations: 76.05 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.72, allocations: 95.36 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.7201, allocations: 105.1 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.7202, allocations: 18.91 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.82e-05/0.7202, allocations: 22.81 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.7203, allocations: 43.94 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.957e-05/0.7204, allocations: 90.75 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.7206, allocations: 217 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.7206, allocations: 1.672 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7206, allocations: 0 / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.7207, allocations: 0 / 1.091 GB, free: 3.309 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.001072/0.7217, allocations: 0.5617 MB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.7218, allocations: 13.88 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/0.7218, allocations: 45.72 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.7219, allocations: 20.02 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.722, allocations: 222.5 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.7221, allocations: 9.812 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.7221, allocations: 13.53 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007799/0.7229, allocations: 245 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.7229, allocations: 5.062 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.7229, allocations: 5.656 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.723, allocations: 2.75 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.7242, allocations: 292 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007232/0.7249, allocations: 496.7 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008224/0.7258, allocations: 247 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007232/0.7265, allocations: 198.2 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.7265, allocations: 1.719 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.7266, allocations: 37.27 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 2.044e-06/0.7266, allocations: 0 / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.00213/0.7287, allocations: 0.4943 MB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.7287, allocations: 62.77 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.7289, allocations: 170.6 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.7289, allocations: 27.3 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.729, allocations: 130.6 kB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.7291, allocations: 54.69 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.898e-05/0.7291, allocations: 33.7 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.479e-05/0.7292, allocations: 333.3 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000629/0.7298, allocations: 146.9 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.7304, allocations: 149.9 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.7317, allocations: 295.6 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.7317, allocations: 4.5 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001388/0.7331, allocations: 362.1 kB / 1.095 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.7331, allocations: 7.828 kB / 1.095 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.7331, allocations: 4.812 kB / 1.095 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.7332, allocations: 0.9062 kB / 1.095 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/0.7336, allocations: 80.23 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.7337, allocations: 1.984 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.734, allocations: 60.55 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.734, allocations: 7.375 kB / 1.095 GB, free: 0.8047 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.0001033/0.7341, allocations: 126 kB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.7342, allocations: 19.11 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.647e-05/0.7343, allocations: 28.33 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.7343, allocations: 1.938 kB / 1.095 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7343, allocations: 3.938 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.7343, allocations: 1.984 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.7346, allocations: 272.9 kB / 1.096 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.7346, allocations: 0 / 1.096 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.735, allocations: 80.16 kB / 1.096 GB, free: 416 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.7351, allocations: 4.812 kB / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.7351, allocations: 9.688 kB / 1.096 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.7351, allocations: 1.375 kB / 1.096 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7351, allocations: 0.7031 kB / 1.096 GB, free: 404 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.7372, allocations: 0.6286 MB / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.7372, allocations: 91.06 kB / 1.096 GB, free: 48 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.7373, allocations: 6.391 kB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.7376, allocations: 52.3 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/0.7377, allocations: 22.14 kB / 1.096 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.7377, allocations: 4.094 kB / 1.096 GB, free: 32 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001305/0.7379, allocations: 139 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7379, allocations: 3.938 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002805/0.7382, allocations: 42.12 kB / 1.097 GB, free: 15.92 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.002508/0.7407, allocations: 1.174 MB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.742, allocations: 328.2 kB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.742, allocations: 0 / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006631/0.7427, allocations: 178.3 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.7432, allocations: 28.16 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00505/0.7482, allocations: 2.514 MB / 1.101 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.7485, allocations: 0.7367 MB / 1.101 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001079/0.7486, allocations: 9.266 kB / 1.101 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.7488, allocations: 62.62 kB / 1.102 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/0.7488, allocations: 4 kB / 1.102 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.7715, allocations: 4.642 MB / 1.106 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.685/8.457, allocations: 9.375 kB / 1.106 GB, free: 12.18 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.csv --start-time 0 --stop-time 480 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.192 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.csv","/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