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.001313/0.001313, allocations: 109.8 kB / 16.46 MB, free: 6.035 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.001304/0.001304, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.44/1.44, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] 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.824/2.824, allocations: 476.7 MB / 0.7611 GB, free: 11.41 MB / 0.6231 GB " [Timeout remaining time 176] 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.003349/0.003349, allocations: 71.89 kB / 1.104 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9654/0.9688, allocations: 168.7 MB / 1.269 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002375/0.9712, allocations: 1.096 MB / 1.27 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.9724, allocations: 0.9713 MB / 1.271 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.9725, allocations: 4 kB / 1.271 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.69e-05/0.9726, allocations: 19.73 kB / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.9727, allocations: 43.55 kB / 1.271 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.973, allocations: 67.89 kB / 1.271 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002877/0.9732, allocations: 223.4 kB / 1.271 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.9734, allocations: 56.64 kB / 1.271 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.9736, allocations: 95.61 kB / 1.271 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.9737, allocations: 115.5 kB / 1.271 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/0.9738, allocations: 16 kB / 1.271 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.334e-05/0.9738, allocations: 24 kB / 1.271 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.431e-05/0.9739, allocations: 43.84 kB / 1.272 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.204e-05/0.974, allocations: 87.52 kB / 1.272 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.9743, allocations: 225 kB / 1.272 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.9743, allocations: 0 / 1.272 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.315e-06/0.9743, allocations: 0 / 1.272 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.852e-06/0.9743, allocations: 0 / 1.272 GB, free: 2.098 MB / 0.9669 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.001188/0.9755, allocations: 0.5725 MB / 1.272 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.9755, allocations: 12.02 kB / 1.272 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.897e-05/0.9756, allocations: 42.75 kB / 1.272 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.9756, allocations: 24.8 kB / 1.272 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.9759, allocations: 220 kB / 1.273 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.9759, allocations: 8.375 kB / 1.273 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.9759, allocations: 20.38 kB / 1.273 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007256/0.9767, allocations: 242.5 kB / 1.273 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.9767, allocations: 3.938 kB / 1.273 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.9767, allocations: 8 kB / 1.273 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.9767, allocations: 4 kB / 1.273 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.9777, allocations: 291.7 kB / 1.273 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007474/0.9785, allocations: 0.4886 MB / 1.274 GB, free: 24 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/0.9792, allocations: 234.4 kB / 1.274 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005977/0.9798, allocations: 192.5 kB / 1.274 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.9798, allocations: 8 kB / 1.274 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.9799, allocations: 34.56 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.9799, allocations: 0 / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17): time 0.001767/0.9816, allocations: 0.4954 MB / 1.275 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.9817, allocations: 55.41 kB / 1.275 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.9819, allocations: 171.6 kB / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.9819, allocations: 29.7 kB / 1.275 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.459e-05/0.982, allocations: 136.3 kB / 1.275 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.918e-05/0.9821, allocations: 59.5 kB / 1.275 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.202e-05/0.9821, allocations: 33.7 kB / 1.275 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.9823, allocations: 326.8 kB / 1.275 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005415/0.9828, allocations: 151.8 kB / 1.276 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005666/0.9834, allocations: 178.3 kB / 1.276 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.9844, allocations: 298.5 kB / 1.276 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9844, allocations: 0 / 1.276 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001153/0.9856, allocations: 361.2 kB / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.9856, allocations: 8 kB / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.9856, allocations: 3.938 kB / 1.276 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.9856, allocations: 3.984 kB / 1.276 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004225/0.9861, allocations: 75.86 kB / 1.276 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.9861, allocations: 8 kB / 1.276 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.9863, allocations: 55.81 kB / 1.276 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.9864, allocations: 8 kB / 1.276 GB, free: 13.05 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.0001286/0.9865, allocations: 125.8 kB / 1.277 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.9865, allocations: 15.91 kB / 1.277 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.355e-05/0.9866, allocations: 29.81 kB / 1.277 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.9866, allocations: 0 / 1.277 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.9866, allocations: 3.938 kB / 1.277 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.9866, allocations: 3.984 kB / 1.277 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.9869, allocations: 277.4 kB / 1.277 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.9869, allocations: 0 / 1.277 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.9873, allocations: 71.91 kB / 1.277 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.9873, allocations: 4 kB / 1.277 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.9873, allocations: 15.94 kB / 1.277 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.9873, allocations: 0 / 1.277 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9873, allocations: 3.938 kB / 1.277 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.9891, allocations: 0.6293 MB / 1.278 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.422e-05/0.9892, allocations: 89.05 kB / 1.278 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.9893, allocations: 3.938 kB / 1.278 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.9896, allocations: 55.98 kB / 1.278 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.9897, allocations: 27.95 kB / 1.278 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.9897, allocations: 8 kB / 1.278 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001244/0.9898, allocations: 132.8 kB / 1.278 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9898, allocations: 0 / 1.278 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002786/0.9901, allocations: 43.89 kB / 1.278 GB, free: 11.44 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.002229/0.9923, allocations: 1.178 MB / 1.279 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.9935, allocations: 325.5 kB / 1.279 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.9935, allocations: 0 / 1.279 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005885/0.9941, allocations: 163.8 kB / 1.28 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.9945, allocations: 39.91 kB / 1.28 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00494/0.9995, allocations: 2.525 MB / 1.282 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.9999, allocations: 0.7278 MB / 1.283 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001491/1, allocations: 17.08 kB / 1.283 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/1, allocations: 59.42 kB / 1.283 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of SimCode: time 1.372e-06/1, allocations: 0 / 1.283 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/1.031, allocations: 4.738 MB / 1.288 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.203/9.234, allocations: 18.7 kB / 1.288 GB, free: 1.668 MB / 0.9825 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 & /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 --stepSize=0.192 --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_2/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] Reference file matches [Calling sys.exit(0), Time elapsed: 15.424160030670464]