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.001567/0.001567, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001896/0.001896, allocations: 215 kB / 20.13 MB, free: 2.949 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.545/1.545, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.014/3.014, allocations: 0.5003 GB / 0.8026 GB, free: 6.75 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="cs",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.002014/0.002014, allocations: 71.91 kB / 1.165 GB, free: 420 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086/1.088, allocations: 178.9 MB / 1.34 GB, free: 16.24 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002511/1.09, allocations: 1.105 MB / 1.341 GB, free: 15.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001331/1.092, allocations: 1 MB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.359e-05/1.092, allocations: 2.438 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.601e-05/1.092, allocations: 19.08 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001574/1.092, allocations: 41.23 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/1.092, allocations: 76.73 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002955/1.092, allocations: 223.3 kB / 1.343 GB, free: 14.54 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/1.093, allocations: 57 kB / 1.343 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/1.093, allocations: 99.22 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/1.093, allocations: 108.3 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/1.093, allocations: 19.06 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.557e-05/1.093, allocations: 19.44 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/1.093, allocations: 43.83 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.345e-05/1.093, allocations: 92.5 kB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002917/1.093, allocations: 214.4 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/1.093, allocations: 2.062 kB / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.362e-06/1.093, allocations: 0 / 1.343 GB, free: 14.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.321e-06/1.093, allocations: 3.938 kB / 1.343 GB, free: 14.23 MB / 1.061 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.001144/1.095, allocations: 0.5718 MB / 1.344 GB, free: 13.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.095, allocations: 10.28 kB / 1.344 GB, free: 13.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.163e-05/1.095, allocations: 8.312 kB / 1.344 GB, free: 13.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.155e-05/1.095, allocations: 46.06 kB / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/1.095, allocations: 22.42 kB / 1.344 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/1.095, allocations: 229.4 kB / 1.344 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/1.095, allocations: 9.875 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/1.095, allocations: 14 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009275/1.096, allocations: 245.8 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/1.096, allocations: 0 / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/1.096, allocations: 5.375 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/1.096, allocations: 3.312 kB / 1.344 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/1.097, allocations: 296.2 kB / 1.345 GB, free: 13.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009295/1.098, allocations: 493.8 kB / 1.345 GB, free: 12.96 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000844/1.099, allocations: 236.5 kB / 1.345 GB, free: 12.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006931/1.1, allocations: 184.2 kB / 1.346 GB, free: 12.85 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/1.1, allocations: 2.266 kB / 1.346 GB, free: 12.85 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/1.1, allocations: 35.84 kB / 1.346 GB, free: 12.81 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.763e-06/1.1, allocations: 0 / 1.346 GB, free: 12.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.002106/1.102, allocations: 0.4934 MB / 1.346 GB, free: 12.69 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/1.102, allocations: 57.94 kB / 1.346 GB, free: 12.62 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/1.102, allocations: 178.2 kB / 1.346 GB, free: 12.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/1.102, allocations: 27.55 kB / 1.346 GB, free: 12.47 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/1.102, allocations: 130.9 kB / 1.346 GB, free: 12.35 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.454e-05/1.102, allocations: 55 kB / 1.346 GB, free: 12.31 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-05/1.102, allocations: 35.72 kB / 1.346 GB, free: 12.28 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.319e-05/1.102, allocations: 329 kB / 1.347 GB, free: 11.96 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000634/1.103, allocations: 150.7 kB / 1.347 GB, free: 11.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006487/1.104, allocations: 176.4 kB / 1.347 GB, free: 11.88 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/1.105, allocations: 306.8 kB / 1.347 GB, free: 11.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.105, allocations: 0 / 1.347 GB, free: 11.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001367/1.106, allocations: 362.9 kB / 1.348 GB, free: 11.72 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/1.106, allocations: 11.67 kB / 1.348 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.106, allocations: 1.312 kB / 1.348 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/1.106, allocations: 1.031 kB / 1.348 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/1.107, allocations: 83.72 kB / 1.348 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/1.107, allocations: 1.812 kB / 1.348 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/1.107, allocations: 58.02 kB / 1.348 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/1.107, allocations: 8.703 kB / 1.348 GB, free: 11.69 MB / 1.061 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.0001043/1.107, allocations: 127.5 kB / 1.348 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/1.107, allocations: 22.83 kB / 1.348 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.276e-05/1.107, allocations: 23.62 kB / 1.348 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/1.107, allocations: 3.172 kB / 1.348 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.107, allocations: 4 kB / 1.348 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.107, allocations: 0.75 kB / 1.348 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/1.108, allocations: 270.3 kB / 1.348 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.108, allocations: 0.7031 kB / 1.348 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004308/1.108, allocations: 83.38 kB / 1.348 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/1.108, allocations: 8.984 kB / 1.348 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/1.108, allocations: 2.312 kB / 1.348 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.108, allocations: 0 / 1.348 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.108, allocations: 1.188 kB / 1.348 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/1.11, allocations: 0.633 MB / 1.349 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/1.11, allocations: 89.91 kB / 1.349 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/1.11, allocations: 5.984 kB / 1.349 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003428/1.111, allocations: 52.25 kB / 1.349 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/1.111, allocations: 23.38 kB / 1.349 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/1.111, allocations: 12.05 kB / 1.349 GB, free: 10.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001276/1.111, allocations: 134.4 kB / 1.349 GB, free: 10.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.111, allocations: 0 / 1.349 GB, free: 10.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003032/1.111, allocations: 43.83 kB / 1.349 GB, free: 10.8 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.002372/1.114, allocations: 1.176 MB / 1.351 GB, free: 10.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001432/1.115, allocations: 316.8 kB / 1.351 GB, free: 9.977 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.115, allocations: 0 / 1.351 GB, free: 9.977 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000695/1.116, allocations: 171.2 kB / 1.351 GB, free: 9.945 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/1.116, allocations: 32.67 kB / 1.351 GB, free: 9.934 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005685/1.122, allocations: 2.531 MB / 1.354 GB, free: 8.383 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/1.122, allocations: 0.7327 MB / 1.354 GB, free: 7.68 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001332/1.122, allocations: 14.22 kB / 1.354 GB, free: 7.672 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/1.122, allocations: 62.3 kB / 1.354 GB, free: 7.625 MB / 1.061 GB Notification: Performance of SimCode: time 2.024e-06/1.122, allocations: 0 / 1.354 GB, free: 7.625 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/1.149, allocations: 4.774 MB / 1.359 GB, free: 7.023 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.717/9.866, allocations: 16.34 kB / 1.359 GB, free: 7.016 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.658976133039687]