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.01414/0.01414, allocations: 99.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.002682/0.002682, allocations: 193.5 kB / 16.67 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.998/2.998, allocations: 222.9 MB / 240.4 MB, free: 15.16 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 4.191/4.191, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 63.91 kB / 0.9505 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736/1.739, allocations: 140.4 MB / 1.088 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate): time 0.004273/1.743, allocations: 1.094 MB / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002522/1.745, allocations: 0.9652 MB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/1.746, allocations: 2.156 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/1.746, allocations: 18.14 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003483/1.746, allocations: 38.06 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000422/1.747, allocations: 67.27 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005602/1.747, allocations: 227.1 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000296/1.748, allocations: 68.09 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003087/1.748, allocations: 99.14 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000343/1.748, allocations: 104.6 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.787e-05/1.748, allocations: 19.06 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.066e-05/1.749, allocations: 23.03 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.662e-05/1.749, allocations: 43.69 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000207/1.749, allocations: 92.3 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005699/1.749, allocations: 217.7 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/1.749, allocations: 1.891 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/1.749, allocations: 0 / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.199e-05/1.749, allocations: 0 / 1.091 GB, free: 3.305 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.001964/1.751, allocations: 0.5657 MB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.695e-05/1.752, allocations: 9.203 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.845e-05/1.752, allocations: 46.31 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/1.752, allocations: 23.05 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/1.752, allocations: 235.2 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/1.752, allocations: 10.42 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.246e-05/1.752, allocations: 16.47 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/1.754, allocations: 237.9 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/1.754, allocations: 3.938 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/1.754, allocations: 9.625 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/1.754, allocations: 3.734 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/1.756, allocations: 291.7 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/1.758, allocations: 491.8 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/1.759, allocations: 247 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/1.76, allocations: 195.4 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.276e-05/1.76, allocations: 2.031 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/1.761, allocations: 44.38 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=17): time 4.458e-06/1.761, allocations: 0 / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17): time 0.003892/1.764, allocations: 0.5005 MB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/1.765, allocations: 54.25 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/1.765, allocations: 171.6 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/1.765, allocations: 30.42 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/1.765, allocations: 126.4 kB / 1.094 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/1.765, allocations: 59.39 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/1.765, allocations: 30.69 kB / 1.094 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.766, allocations: 328.5 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/1.767, allocations: 147.2 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/1.768, allocations: 145.2 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/1.77, allocations: 312.2 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/1.77, allocations: 0 / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002514/1.773, allocations: 358.6 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.333e-05/1.773, allocations: 7.438 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/1.773, allocations: 5.031 kB / 1.095 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.375e-05/1.773, allocations: 1.031 kB / 1.095 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008508/1.774, allocations: 76.7 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/1.774, allocations: 5.5 kB / 1.095 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000645/1.774, allocations: 65.27 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/1.774, allocations: 3.406 kB / 1.095 GB, free: 0.7891 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.0002176/1.775, allocations: 121.2 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/1.775, allocations: 15.75 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.379e-05/1.775, allocations: 28.41 kB / 1.095 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/1.775, allocations: 5.844 kB / 1.095 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/1.775, allocations: 4 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/1.775, allocations: 1.922 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005547/1.776, allocations: 277.4 kB / 1.096 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.776, allocations: 0 / 1.096 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008046/1.776, allocations: 79.38 kB / 1.096 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.531e-05/1.776, allocations: 1.188 kB / 1.096 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/1.776, allocations: 9.562 kB / 1.096 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/1.776, allocations: 4.781 kB / 1.096 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.777, allocations: 1.844 kB / 1.096 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00391/1.78, allocations: 0.6206 MB / 1.096 GB, free: 144 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/1.781, allocations: 94.05 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/1.781, allocations: 10.72 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006333/1.781, allocations: 56.14 kB / 1.096 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/1.782, allocations: 23.11 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/1.782, allocations: 4.469 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003773/1.782, allocations: 130.1 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.01e-07/1.782, allocations: 3.938 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000606/1.783, allocations: 42.47 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.004656/1.787, allocations: 1.174 MB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002489/1.79, allocations: 327.3 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.79, allocations: 4 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/1.791, allocations: 175.8 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.0009919/1.792, allocations: 36.42 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.009417/1.802, allocations: 2.529 MB / 1.101 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000787/1.803, allocations: 0.7285 MB / 1.102 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002082/1.803, allocations: 14.7 kB / 1.102 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/1.803, allocations: 58.05 kB / 1.102 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of SimCode: time 7.71e-07/1.803, allocations: 0.9062 kB / 1.102 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0538/1.857, allocations: 4.642 MB / 1.106 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/17.41, allocations: 11.12 kB / 1.106 GB, free: 12.14 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