Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001241/0.001241, allocations: 123.1 kB / 17.17 MB, free: 5.918 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.001346/0.001346, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.532/1.532, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.013/3.013, allocations: 0.49 GB / 0.7923 GB, free: 1.262 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate,fileNamePrefix="Buildings_12_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.002382/0.002382, allocations: 68.19 kB / 1.15 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 176.1 MB / 1.322 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate): time 0.002041/1.063, allocations: 1.098 MB / 1.323 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009465/1.064, allocations: 0.9928 MB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.878e-05/1.064, allocations: 6.281 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.833e-05/1.064, allocations: 19.08 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001305/1.065, allocations: 39.39 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/1.065, allocations: 79.09 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000206/1.065, allocations: 223.3 kB / 1.324 GB, free: 22.92 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/1.065, allocations: 52.39 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.929e-05/1.065, allocations: 99.86 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/1.065, allocations: 108.1 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/1.065, allocations: 19.5 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.634e-05/1.065, allocations: 19.84 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.632e-05/1.065, allocations: 44.45 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.449e-05/1.065, allocations: 91.91 kB / 1.324 GB, free: 22.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/1.066, allocations: 223.2 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/1.066, allocations: 4 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.415e-06/1.066, allocations: 3.031 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.462e-06/1.066, allocations: 0 / 1.325 GB, free: 22.6 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.001083/1.067, allocations: 0.5645 MB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.067, allocations: 12.2 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.62e-05/1.067, allocations: 10.73 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/1.067, allocations: 46.91 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/1.067, allocations: 23.3 kB / 1.325 GB, free: 22.08 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/1.067, allocations: 222.6 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/1.067, allocations: 9.875 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/1.067, allocations: 13.06 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007392/1.068, allocations: 244.4 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.068, allocations: 3.234 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/1.068, allocations: 7.938 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/1.068, allocations: 7.281 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/1.069, allocations: 292 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005726/1.07, allocations: 493.6 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007161/1.07, allocations: 238.7 kB / 1.327 GB, free: 21.26 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006508/1.071, allocations: 187.6 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/1.071, allocations: 2.406 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/1.071, allocations: 43.11 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/1.071, allocations: 1.031 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=17): time 0.002052/1.073, allocations: 0.4977 MB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/1.073, allocations: 53.44 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/1.073, allocations: 178.5 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/1.073, allocations: 30.58 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/1.073, allocations: 131.4 kB / 1.328 GB, free: 20.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/1.073, allocations: 53.72 kB / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/1.073, allocations: 35.72 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.117e-05/1.073, allocations: 329.8 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006364/1.074, allocations: 145.4 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006933/1.075, allocations: 176.9 kB / 1.328 GB, free: 20.24 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/1.076, allocations: 303.3 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.076, allocations: 0 / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001417/1.078, allocations: 367.6 kB / 1.329 GB, free: 20.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/1.078, allocations: 8.875 kB / 1.329 GB, free: 20.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/1.078, allocations: 0.5 kB / 1.329 GB, free: 20.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/1.078, allocations: 2.109 kB / 1.329 GB, free: 20.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004738/1.078, allocations: 80.06 kB / 1.329 GB, free: 20.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.078, allocations: 1.562 kB / 1.329 GB, free: 20.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/1.078, allocations: 62.17 kB / 1.329 GB, free: 20.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/1.078, allocations: 7.438 kB / 1.329 GB, free: 20.05 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.0001038/1.079, allocations: 121.1 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/1.079, allocations: 23.33 kB / 1.329 GB, free: 19.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.652e-05/1.079, allocations: 24.56 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/1.079, allocations: 2.156 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.079, allocations: 4.703 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.079, allocations: 0.6094 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/1.079, allocations: 274.4 kB / 1.33 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.079, allocations: 0 / 1.33 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004563/1.079, allocations: 75.81 kB / 1.33 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/1.079, allocations: 5.375 kB / 1.33 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/1.079, allocations: 6.203 kB / 1.33 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/1.079, allocations: 4 kB / 1.33 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.079, allocations: 1.5 kB / 1.33 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/1.082, allocations: 0.6307 MB / 1.33 GB, free: 19.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/1.082, allocations: 90.31 kB / 1.33 GB, free: 19.29 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/1.082, allocations: 5.75 kB / 1.33 GB, free: 19.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/1.082, allocations: 57.16 kB / 1.331 GB, free: 19.28 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.771e-05/1.082, allocations: 22.89 kB / 1.331 GB, free: 19.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/1.082, allocations: 7.875 kB / 1.331 GB, free: 19.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.908e-05/1.082, allocations: 134.3 kB / 1.331 GB, free: 19.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.082, allocations: 0 / 1.331 GB, free: 19.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002885/1.082, allocations: 44.27 kB / 1.331 GB, free: 19.16 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.002311/1.085, allocations: 1.174 MB / 1.332 GB, free: 18.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001406/1.086, allocations: 320.6 kB / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.086, allocations: 4 kB / 1.332 GB, free: 18.33 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006713/1.087, allocations: 167.1 kB / 1.332 GB, free: 18.3 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/1.087, allocations: 38.73 kB / 1.332 GB, free: 18.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005349/1.093, allocations: 2.518 MB / 1.335 GB, free: 16.76 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/1.093, allocations: 0.7286 MB / 1.336 GB, free: 16.06 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001063/1.093, allocations: 14.17 kB / 1.336 GB, free: 16.05 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/1.093, allocations: 62.61 kB / 1.336 GB, free: 16.01 MB / 1.061 GB Notification: Performance of SimCode: time 1.002e-06/1.093, allocations: 0 / 1.336 GB, free: 16.01 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/1.12, allocations: 4.778 MB / 1.34 GB, free: 15.39 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.997/10.12, allocations: 13.84 kB / 1.34 GB, free: 15.38 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --stepSize=0.192 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LimitSlewRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LimitSlewRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.851627280004323]