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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 225.6 MB / 249.3 MB, free: 3.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.497/2.497, allocations: 476.7 MB / 0.7628 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 76.08 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7976/0.7995, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.001903/0.8014, allocations: 1.116 MB / 1.273 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008973/0.8023, allocations: 0.9622 MB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.479e-05/0.8023, allocations: 2.312 kB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.526e-05/0.8024, allocations: 18.42 kB / 1.273 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.8025, allocations: 42.14 kB / 1.274 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.8027, allocations: 76.19 kB / 1.274 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00023/0.8029, allocations: 223.9 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.803, allocations: 53.36 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.842e-05/0.8031, allocations: 95.69 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.8033, allocations: 115 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.8033, allocations: 19.09 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.367e-05/0.8033, allocations: 19.5 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.614e-05/0.8034, allocations: 42.19 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.731e-05/0.8034, allocations: 89.47 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.8036, allocations: 221.7 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.8036, allocations: 0.7188 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8036, allocations: 0 / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.8036, allocations: 0.8438 kB / 1.274 GB, free: 5.766 MB / 0.9981 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.0009679/0.8046, allocations: 0.5712 MB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.8046, allocations: 9.781 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.816e-05/0.8047, allocations: 46.23 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.8047, allocations: 22.52 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.8049, allocations: 224 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.8049, allocations: 10.84 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.8049, allocations: 13.31 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007026/0.8056, allocations: 242.1 kB / 1.276 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.8056, allocations: 9.422 kB / 1.276 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.8056, allocations: 5.469 kB / 1.276 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.8056, allocations: 3.188 kB / 1.276 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.8067, allocations: 294.9 kB / 1.276 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.8072, allocations: 499.5 kB / 1.276 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006983/0.8079, allocations: 240.4 kB / 1.277 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005917/0.8085, allocations: 187.5 kB / 1.277 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.8086, allocations: 1.625 kB / 1.277 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.8086, allocations: 32.38 kB / 1.277 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.8086, allocations: 7.938 kB / 1.277 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.001808/0.8104, allocations: 0.5002 MB / 1.277 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.8104, allocations: 54.19 kB / 1.277 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.8105, allocations: 178.3 kB / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.8105, allocations: 27.8 kB / 1.278 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.8106, allocations: 130.3 kB / 1.278 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.8106, allocations: 58.61 kB / 1.278 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/0.8107, allocations: 36.33 kB / 1.278 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.233e-05/0.8107, allocations: 332.7 kB / 1.278 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005595/0.8113, allocations: 142.5 kB / 1.278 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005783/0.8119, allocations: 180.2 kB / 1.278 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.813, allocations: 303.6 kB / 1.279 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.813, allocations: 0 / 1.279 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001182/0.8141, allocations: 359.5 kB / 1.279 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.8142, allocations: 9.156 kB / 1.279 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.8142, allocations: 3.938 kB / 1.279 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.8142, allocations: 2.469 kB / 1.279 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.8146, allocations: 72.67 kB / 1.279 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.8146, allocations: 4.469 kB / 1.279 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.8149, allocations: 66.16 kB / 1.279 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.8149, allocations: 3.219 kB / 1.279 GB, free: 3.215 MB / 0.9981 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 7.13e-05/0.815, allocations: 125.6 kB / 1.279 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.815, allocations: 16.42 kB / 1.279 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.815, allocations: 27.73 kB / 1.279 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.815, allocations: 6.016 kB / 1.279 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8151, allocations: 0 / 1.279 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.8151, allocations: 10.17 kB / 1.279 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.8153, allocations: 273.1 kB / 1.28 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.8153, allocations: 0 / 1.28 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/0.8157, allocations: 80.31 kB / 1.28 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.8157, allocations: 1.062 kB / 1.28 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.8157, allocations: 5.641 kB / 1.28 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.8157, allocations: 1.031 kB / 1.28 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8157, allocations: 8.688 kB / 1.28 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.8175, allocations: 0.6244 MB / 1.28 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.8175, allocations: 93.22 kB / 1.28 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.8176, allocations: 11.58 kB / 1.28 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.8179, allocations: 54.77 kB / 1.28 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/0.8179, allocations: 23.19 kB / 1.28 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.818, allocations: 3.375 kB / 1.28 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.09e-05/0.818, allocations: 136.8 kB / 1.281 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/0.818, allocations: 0 / 1.281 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000242/0.8183, allocations: 47.14 kB / 1.281 GB, free: 2.316 MB / 0.9981 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.001926/0.8202, allocations: 1.175 MB / 1.282 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001157/0.8214, allocations: 317.6 kB / 1.282 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8214, allocations: 0 / 1.282 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005614/0.8219, allocations: 169.9 kB / 1.282 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.8223, allocations: 38.7 kB / 1.282 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/0.8264, allocations: 2.53 MB / 1.285 GB, free: 15.89 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.8267, allocations: 0.724 MB / 1.285 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.093e-05/0.8268, allocations: 13.95 kB / 1.285 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.8269, allocations: 58.78 kB / 1.286 GB, free: 15.15 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/0.8269, allocations: 0 / 1.286 GB, free: 15.15 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.8536, allocations: 4.706 MB / 1.29 GB, free: 14.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.986/7.84, allocations: 7.547 kB / 1.29 GB, free: 14.56 MB / 1.014 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] "" Variables in the reference:time,sleRatLim.u,sleRatLim.y Variables in the result:add.u1,add.u2,add.y,add1.u1,add1.u2,add1.y,add2.u1,add2.u2,add2.y,add3.u1,add3.u2,add3.y,add4.u1,add4.u2,add4.y,add5.u1,add5.u2,add5.y,add6.u1,add6.u2,add6.y,der(sleRatLim.y),ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,ramp2.y,ramp3.duration,ramp3.height,ramp3.offset,ramp3.startTime,ramp3.y,ramp4.duration,ramp4.height,ramp4.offset,ramp4.startTime,ramp4.y,ramp5.duration,ramp5.height,ramp5.offset,ramp5.startTime,ramp5.y,ramp6.duration,ramp6.height,ramp6.offset,ramp6.startTime,ramp6.y,ramp7.duration,ramp7.height,ramp7.offset,ramp7.startTime,ramp7.y,ramp8.duration,ramp8.height,ramp8.offset,ramp8.startTime,ramp8.y,sleRatLim.Td,sleRatLim.enable,sleRatLim.fallingSlewRate,sleRatLim.raisingSlewRate,sleRatLim.u,sleRatLim.y,time [Calling sys.exit(0), Time elapsed: 13.24784536199968]