Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001864/0.001864, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002404/0.002404, allocations: 215.1 kB / 22.25 MB, free: 5.082 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.355/3.355, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_latest_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.002131/0.002131, allocations: 67.64 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3621, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002892/0.365, allocations: 1.107 MB / 1.354 GB, free: 7.367 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3667, allocations: 0.9989 MB / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.3668, allocations: 0 / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.153e-05/0.3669, allocations: 19.73 kB / 1.355 GB, free: 6.336 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.3671, allocations: 51.53 kB / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.3673, allocations: 59.92 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003428/0.3677, allocations: 223.4 kB / 1.355 GB, free: 6.008 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.3679, allocations: 57.42 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.368, allocations: 99.62 kB / 1.355 GB, free: 5.852 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.3682, allocations: 111.5 kB / 1.356 GB, free: 5.742 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.126e-05/0.3683, allocations: 16 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-05/0.3683, allocations: 20 kB / 1.356 GB, free: 5.707 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.3684, allocations: 47.83 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.3685, allocations: 99.45 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.3688, allocations: 211 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3688, allocations: 0 / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3688, allocations: 0 / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.3688, allocations: 0 / 1.356 GB, free: 5.355 MB / 1.045 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.00125/0.37, allocations: 0.4933 MB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3701, allocations: 8.031 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.735e-05/0.3701, allocations: 50.73 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.3702, allocations: 20.8 kB / 1.357 GB, free: 4.742 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.3705, allocations: 174.1 kB / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.3705, allocations: 16.31 kB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.3705, allocations: 12.38 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007733/0.3713, allocations: 249.9 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3713, allocations: 3.938 kB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.3713, allocations: 4 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3713, allocations: 8 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.3724, allocations: 287.7 kB / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007651/0.3732, allocations: 459.4 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/0.3739, allocations: 240.2 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006348/0.3746, allocations: 185 kB / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.3746, allocations: 0 / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.3746, allocations: 46.45 kB / 1.358 GB, free: 3 MB / 1.045 GB Notification: Performance of pre-optimization done (n=17): time 1.122e-06/0.3746, allocations: 0 / 1.358 GB, free: 3 MB / 1.045 GB Notification: Performance of matching and sorting (n=17): time 0.001876/0.3765, allocations: 497.1 kB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3766, allocations: 59.39 kB / 1.359 GB, free: 2.438 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.3768, allocations: 170.9 kB / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.3768, allocations: 33.69 kB / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/0.3769, allocations: 124.4 kB / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.377, allocations: 63.47 kB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/0.377, allocations: 37.7 kB / 1.359 GB, free: 1.988 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3772, allocations: 330.8 kB / 1.359 GB, free: 1.656 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005956/0.3778, allocations: 151.7 kB / 1.36 GB, free: 1.508 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006128/0.3784, allocations: 176.1 kB / 1.36 GB, free: 1.328 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.3795, allocations: 294.1 kB / 1.36 GB, free: 1.039 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3795, allocations: 0 / 1.36 GB, free: 1.039 MB / 1.045 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00122/0.3807, allocations: 375.1 kB / 1.36 GB, free: 0.668 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3807, allocations: 8 kB / 1.36 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.3807, allocations: 3.938 kB / 1.36 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3808, allocations: 0 / 1.36 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.3812, allocations: 79.84 kB / 1.36 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3812, allocations: 0 / 1.36 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.3815, allocations: 63.86 kB / 1.36 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/0.3815, allocations: 8 kB / 1.36 GB, free: 0.5078 MB / 1.045 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.0001281/0.3816, allocations: 125.8 kB / 1.361 GB, free: 384 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.3817, allocations: 23.8 kB / 1.361 GB, free: 360 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.75e-05/0.3817, allocations: 29.73 kB / 1.361 GB, free: 328 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3817, allocations: 0 / 1.361 GB, free: 328 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3817, allocations: 4 kB / 1.361 GB, free: 324 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3818, allocations: 3.938 kB / 1.361 GB, free: 320 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.3821, allocations: 240.6 kB / 1.361 GB, free: 36 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3821, allocations: 0 / 1.361 GB, free: 36 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.3825, allocations: 71.97 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.3825, allocations: 7.938 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.3825, allocations: 7.875 kB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3825, allocations: 7.984 kB / 1.361 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3825, allocations: 0 / 1.361 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.3844, allocations: 0.6316 MB / 1.362 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.3845, allocations: 15.88 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.3845, allocations: 7.938 kB / 1.362 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.3848, allocations: 55.98 kB / 1.362 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.501e-05/0.3849, allocations: 23.95 kB / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.3849, allocations: 8 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001095/0.385, allocations: 127.1 kB / 1.362 GB, free: 15.06 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.385, allocations: 0 / 1.362 GB, free: 15.06 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002918/0.3853, allocations: 39.95 kB / 1.362 GB, free: 15.02 MB / 1.061 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.002379/0.3877, allocations: 1.17 MB / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00125/0.389, allocations: 330.5 kB / 1.363 GB, free: 13.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.389, allocations: 4 kB / 1.363 GB, free: 13.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006039/0.3896, allocations: 163.8 kB / 1.363 GB, free: 13.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.3901, allocations: 27.98 kB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005034/0.3951, allocations: 2.525 MB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.3955, allocations: 0.724 MB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.905e-05/0.3956, allocations: 13.09 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.3957, allocations: 63.41 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of SimCode: time 8.51e-07/0.3957, allocations: 0 / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03482/0.4306, allocations: 4.896 MB / 1.372 GB, free: 5.145 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.98, allocations: 9.938 kB / 1.372 GB, free: 5.141 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --stepSize=0.192 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.059952795971185]