Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 109.1 kB / 18.19 MB, free: 3.973 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 192.4 kB / 21.34 MB, free: 0.8359 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 249.9 MB, free: 3.227 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.763/2.763, allocations: 476.7 MB / 0.7634 GB, free: 15.24 MB / 0.6075 GB [Timeout remaining time 87] 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: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 71.88 kB / 1.108 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.038, allocations: 168.7 MB / 1.272 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002764/1.041, allocations: 1.474 MB / 1.274 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001018/1.042, allocations: 0.5745 MB / 1.274 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/1.042, allocations: 0 / 1.274 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.707e-05/1.042, allocations: 5.297 kB / 1.274 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.506e-05/1.042, allocations: 4.812 kB / 1.274 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/1.042, allocations: 49.75 kB / 1.274 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.355e-05/1.042, allocations: 25.58 kB / 1.274 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/1.042, allocations: 8.266 kB / 1.274 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.311e-05/1.042, allocations: 8.016 kB / 1.274 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.534e-05/1.042, allocations: 18.38 kB / 1.275 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/1.042, allocations: 5.969 kB / 1.275 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/1.043, allocations: 55.53 kB / 1.275 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/1.043, allocations: 10.78 kB / 1.275 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/1.043, allocations: 10.31 kB / 1.275 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/1.043, allocations: 64.94 kB / 1.275 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.043, allocations: 0.7188 kB / 1.275 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.293e-06/1.043, allocations: 3.938 kB / 1.275 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.7e-06/1.043, allocations: 0 / 1.275 GB, free: 6.449 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003859/1.043, allocations: 350.2 kB / 1.275 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/1.043, allocations: 13.5 kB / 1.275 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/1.043, allocations: 9.547 kB / 1.275 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/1.043, allocations: 166.9 kB / 1.275 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/1.043, allocations: 1.5 kB / 1.275 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/1.043, allocations: 1.375 kB / 1.275 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/1.043, allocations: 47.14 kB / 1.275 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/1.043, allocations: 0 / 1.275 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/1.043, allocations: 1.062 kB / 1.275 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/1.043, allocations: 0 / 1.275 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.379e-05/1.044, allocations: 30.17 kB / 1.275 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/1.044, allocations: 258 kB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.837e-05/1.044, allocations: 27.77 kB / 1.276 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/1.044, allocations: 13.75 kB / 1.276 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000733/1.045, allocations: 480.1 kB / 1.276 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/1.045, allocations: 31.56 kB / 1.276 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/1.045, allocations: 3.984 kB / 1.276 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002388/1.045, allocations: 66.16 kB / 1.276 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/1.045, allocations: 60.56 kB / 1.276 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.084e-05/1.045, allocations: 106.2 kB / 1.276 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/1.045, allocations: 25.7 kB / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.098e-05/1.045, allocations: 91.86 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/1.045, allocations: 5.016 kB / 1.276 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/1.045, allocations: 13 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.714e-05/1.045, allocations: 323.4 kB / 1.277 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.259e-05/1.045, allocations: 5.766 kB / 1.277 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/1.045, allocations: 16.23 kB / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.674e-05/1.045, allocations: 30.33 kB / 1.277 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.045, allocations: 0 / 1.277 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001091/1.045, allocations: 58.64 kB / 1.277 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/1.045, allocations: 5.734 kB / 1.277 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/1.046, allocations: 0.8438 kB / 1.277 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/1.046, allocations: 0 / 1.277 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/1.046, allocations: 11.03 kB / 1.277 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.046, allocations: 0 / 1.277 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.355e-05/1.046, allocations: 7.734 kB / 1.277 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/1.046, allocations: 1.719 kB / 1.277 GB, free: 4.238 MB / 0.9981 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 (2): * Single equations (assignments): 2 * 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 4.978e-05/1.046, allocations: 117.1 kB / 1.277 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/1.046, allocations: 1.781 kB / 1.277 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/1.046, allocations: 60.56 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.046, allocations: 5.609 kB / 1.277 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/1.046, allocations: 0.9375 kB / 1.277 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.046, allocations: 0 / 1.277 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/1.046, allocations: 166.6 kB / 1.277 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.046, allocations: 1.125 kB / 1.277 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/1.046, allocations: 5.984 kB / 1.277 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/1.046, allocations: 3.938 kB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/1.046, allocations: 0.9375 kB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.911e-05/1.046, allocations: 2.797 kB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.046, allocations: 0 / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/1.046, allocations: 154.5 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/1.046, allocations: 78.83 kB / 1.277 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/1.046, allocations: 8.969 kB / 1.277 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.996e-05/1.046, allocations: 2.75 kB / 1.277 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/1.046, allocations: 3.141 kB / 1.277 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/1.046, allocations: 0.8125 kB / 1.277 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.106e-05/1.046, allocations: 88.8 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.046, allocations: 4 kB / 1.277 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002401/1.047, allocations: 15.81 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001777/1.047, allocations: 115.9 kB / 1.278 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001477/1.047, allocations: 25.66 kB / 1.278 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.047, allocations: 0 / 1.278 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.645e-05/1.047, allocations: 12.03 kB / 1.278 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/1.047, allocations: 11.64 kB / 1.278 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/1.048, allocations: 152.9 kB / 1.278 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/1.048, allocations: 0.6835 MB / 1.278 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/1.048, allocations: 9.125 kB / 1.278 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/1.048, allocations: 0 / 1.278 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of Templates: time 0.002676/1.05, allocations: 0.8102 MB / 1.279 GB, free: 2.492 MB / 0.9981 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches