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.00184/0.00184, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001871/0.001871, allocations: 216.8 kB / 22.24 MB, free: 4.855 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 8.004 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.294/3.294, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 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.002122/0.002122, allocations: 72.02 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.4037, allocations: 181.9 MB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002909/0.4066, allocations: 1.024 MB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.4084, allocations: 0.991 MB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.4086, allocations: 8 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.387e-05/0.4086, allocations: 19.73 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.4089, allocations: 39.59 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.4091, allocations: 63.92 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003368/0.4095, allocations: 227.4 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.4097, allocations: 53.42 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.4098, allocations: 99.62 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.41, allocations: 99.58 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.41, allocations: 20 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.913e-05/0.4101, allocations: 20 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.4101, allocations: 39.84 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.897e-05/0.4102, allocations: 75.58 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.4105, allocations: 223 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.4105, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4105, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.4105, allocations: 3.938 kB / 1.366 GB, free: 10.98 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.0013/0.4118, allocations: 0.4913 MB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.4118, allocations: 8.031 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.15e-05/0.4119, allocations: 46.73 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.202e-05/0.412, allocations: 24.8 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.4123, allocations: 170.1 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.4123, allocations: 20.38 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.4124, allocations: 12.38 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008408/0.4132, allocations: 238 kB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.4132, allocations: 11.94 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.4132, allocations: 7.938 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4133, allocations: 4 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.4144, allocations: 291.7 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008042/0.4152, allocations: 419.5 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007773/0.416, allocations: 234.3 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006211/0.4166, allocations: 185 kB / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.4166, allocations: 0 / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.4167, allocations: 42.47 kB / 1.368 GB, free: 8.672 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.092e-06/0.4167, allocations: 0 / 1.368 GB, free: 8.672 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.001918/0.4186, allocations: 0.4932 MB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.4186, allocations: 51.41 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.4188, allocations: 178.9 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.4189, allocations: 29.7 kB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.419, allocations: 128.4 kB / 1.369 GB, free: 7.762 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.099e-05/0.419, allocations: 67.42 kB / 1.369 GB, free: 7.695 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.039e-05/0.4191, allocations: 33.64 kB / 1.369 GB, free: 7.656 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.4193, allocations: 330.8 kB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005918/0.4199, allocations: 151.7 kB / 1.37 GB, free: 7.176 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006608/0.4205, allocations: 228.5 kB / 1.37 GB, free: 6.934 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.4217, allocations: 296.6 kB / 1.37 GB, free: 6.641 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4217, allocations: 0 / 1.37 GB, free: 6.641 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001291/0.423, allocations: 362.9 kB / 1.371 GB, free: 6.281 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.423, allocations: 8 kB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.423, allocations: 3.938 kB / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.423, allocations: 3.938 kB / 1.371 GB, free: 6.266 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.4235, allocations: 79.86 kB / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.4235, allocations: 7.984 kB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.4238, allocations: 59.81 kB / 1.371 GB, free: 6.121 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.4238, allocations: 4 kB / 1.371 GB, free: 6.117 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.000155/0.424, allocations: 125.8 kB / 1.371 GB, free: 5.984 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.424, allocations: 15.91 kB / 1.371 GB, free: 5.969 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.623e-05/0.4241, allocations: 29.75 kB / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4241, allocations: 0 / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.4241, allocations: 3.984 kB / 1.371 GB, free: 5.934 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.4241, allocations: 0 / 1.371 GB, free: 5.934 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.4244, allocations: 216.6 kB / 1.371 GB, free: 5.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.4244, allocations: 3.984 kB / 1.371 GB, free: 5.676 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.4248, allocations: 71.92 kB / 1.371 GB, free: 5.605 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.4249, allocations: 8 kB / 1.371 GB, free: 5.598 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.4249, allocations: 3.938 kB / 1.371 GB, free: 5.594 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.4249, allocations: 3.984 kB / 1.371 GB, free: 5.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4249, allocations: 0 / 1.371 GB, free: 5.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.427, allocations: 0.6298 MB / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.427, allocations: 23.88 kB / 1.372 GB, free: 4.922 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.427, allocations: 7.938 kB / 1.372 GB, free: 4.914 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.4274, allocations: 55.98 kB / 1.372 GB, free: 4.859 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.325e-05/0.4275, allocations: 27.95 kB / 1.372 GB, free: 4.832 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.4275, allocations: 0 / 1.372 GB, free: 4.832 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001278/0.4277, allocations: 136.3 kB / 1.372 GB, free: 4.699 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4277, allocations: 4 kB / 1.372 GB, free: 4.695 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002863/0.428, allocations: 35.95 kB / 1.372 GB, free: 4.66 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.002397/0.4304, allocations: 1.169 MB / 1.373 GB, free: 3.461 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.4316, allocations: 321 kB / 1.374 GB, free: 3.148 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4316, allocations: 0 / 1.374 GB, free: 3.148 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006222/0.4322, allocations: 171.8 kB / 1.374 GB, free: 2.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.4327, allocations: 37.78 kB / 1.374 GB, free: 2.945 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005373/0.4381, allocations: 2.522 MB / 1.376 GB, free: 348 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.4382, allocations: 116 kB / 1.376 GB, free: 216 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.4383, allocations: 13.08 kB / 1.376 GB, free: 200 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.4384, allocations: 59.42 kB / 1.377 GB, free: 140 kB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/0.4384, allocations: 3.938 kB / 1.377 GB, free: 136 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03757/0.476, allocations: 5.517 MB / 1.382 GB, free: 10.8 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.05, allocations: 2.812 kB / 1.382 GB, free: 10.8 MB / 1.076 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.047782512847334]