Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 100.4 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.94/2.94, allocations: 476.7 MB / 0.7672 GB, free: 5.18 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 71.91 kB / 1.112 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9032/0.9052, allocations: 169.9 MB / 1.278 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.00245/0.9076, allocations: 1.109 MB / 1.279 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.909, allocations: 0.991 MB / 1.28 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.909, allocations: 4 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.228e-05/0.9091, allocations: 23.73 kB / 1.28 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.9093, allocations: 35.66 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.9095, allocations: 67.84 kB / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.9098, allocations: 227.4 kB / 1.281 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.9099, allocations: 56.62 kB / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.9101, allocations: 95.69 kB / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.9102, allocations: 111.5 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/0.9102, allocations: 24 kB / 1.281 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.426e-05/0.9103, allocations: 20 kB / 1.281 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.9103, allocations: 39.84 kB / 1.281 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.9104, allocations: 95.44 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.9107, allocations: 213 kB / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.9107, allocations: 0 / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9107, allocations: 0 / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.9107, allocations: 4 kB / 1.281 GB, free: 10.22 MB / 0.9825 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.001229/0.9119, allocations: 0.5647 MB / 1.282 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.912, allocations: 12.03 kB / 1.282 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.74e-05/0.9121, allocations: 46.73 kB / 1.282 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.9121, allocations: 20.8 kB / 1.282 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.9124, allocations: 231.9 kB / 1.282 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.9124, allocations: 16.36 kB / 1.282 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.805e-05/0.9124, allocations: 20.31 kB / 1.282 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008177/0.9132, allocations: 246.5 kB / 1.282 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.9133, allocations: 3.938 kB / 1.282 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.9133, allocations: 4 kB / 1.282 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.9133, allocations: 4 kB / 1.282 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.9145, allocations: 295.6 kB / 1.283 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00076/0.9153, allocations: 488.4 kB / 1.283 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008212/0.9161, allocations: 240.1 kB / 1.283 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006897/0.9168, allocations: 186.6 kB / 1.284 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.9168, allocations: 0 / 1.284 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.9169, allocations: 34.88 kB / 1.284 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.412e-06/0.9169, allocations: 3.938 kB / 1.284 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.002064/0.9189, allocations: 0.499 MB / 1.284 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.919, allocations: 51.41 kB / 1.284 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.9192, allocations: 181.7 kB / 1.284 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.9192, allocations: 33.7 kB / 1.284 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/0.9193, allocations: 132.3 kB / 1.285 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.9193, allocations: 55.53 kB / 1.285 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.036e-05/0.9194, allocations: 37.7 kB / 1.285 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.9196, allocations: 322.8 kB / 1.285 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006249/0.9202, allocations: 151.8 kB / 1.285 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/0.9209, allocations: 174.3 kB / 1.285 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.9221, allocations: 302.1 kB / 1.286 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9221, allocations: 4 kB / 1.286 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001304/0.9234, allocations: 359.2 kB / 1.286 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.9234, allocations: 4 kB / 1.286 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.9234, allocations: 7.938 kB / 1.286 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.9234, allocations: 0 / 1.286 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.9239, allocations: 87.84 kB / 1.286 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.9239, allocations: 3.984 kB / 1.286 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.9242, allocations: 63.81 kB / 1.286 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.9243, allocations: 4 kB / 1.286 GB, free: 5.172 MB / 0.9825 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.000129/0.9244, allocations: 121.8 kB / 1.286 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.9244, allocations: 23.89 kB / 1.286 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.9245, allocations: 29.75 kB / 1.286 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.9245, allocations: 4 kB / 1.286 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9245, allocations: 0 / 1.286 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.9245, allocations: 0 / 1.286 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.9248, allocations: 273.4 kB / 1.286 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9248, allocations: 0 / 1.286 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004812/0.9253, allocations: 87.84 kB / 1.287 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.9253, allocations: 0 / 1.287 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.9254, allocations: 7.875 kB / 1.287 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.9254, allocations: 0 / 1.287 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.9254, allocations: 4 kB / 1.287 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.9275, allocations: 0.6219 MB / 1.287 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.9275, allocations: 93.03 kB / 1.287 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.9276, allocations: 16 kB / 1.287 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/0.9279, allocations: 51.92 kB / 1.287 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.928, allocations: 27.91 kB / 1.287 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.928, allocations: 4 kB / 1.287 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001179/0.9281, allocations: 131.4 kB / 1.287 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9281, allocations: 0 / 1.287 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000283/0.9284, allocations: 43.94 kB / 1.288 GB, free: 3.555 MB / 0.9825 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.002449/0.9309, allocations: 1.173 MB / 1.289 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001352/0.9322, allocations: 325.3 kB / 1.289 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9322, allocations: 0 / 1.289 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007044/0.9329, allocations: 171.7 kB / 1.289 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.9334, allocations: 33.7 kB / 1.289 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/0.9386, allocations: 2.532 MB / 1.292 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.9391, allocations: 0.7317 MB / 1.292 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001428/0.9392, allocations: 13.08 kB / 1.292 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.9394, allocations: 59.41 kB / 1.292 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.553e-06/0.9394, allocations: 0 / 1.292 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.9694, allocations: 4.735 MB / 1.297 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.221/9.191, allocations: 4.766 kB / 1.297 GB, free: 9.789 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv --start-time 0 --stop-time 480 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.192 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sleRatLim.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv. Warning: Get data of variable sleRatLim.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.734313683118671]