Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.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.001543/0.001543, allocations: 109.7 kB / 19.7 MB, free: 2.266 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.001746/0.001746, allocations: 220.1 kB / 23.01 MB, free: 4.594 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.333/3.333, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") [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.002315/0.002315, allocations: 76.36 kB / 1.178 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3645, allocations: 180.2 MB / 1.354 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002912/0.3674, allocations: 1.488 MB / 1.356 GB, free: 6.477 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.3686, allocations: 0.635 MB / 1.356 GB, free: 5.836 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.014e-05/0.3687, allocations: 3.938 kB / 1.356 GB, free: 5.832 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.499e-05/0.3687, allocations: 0 / 1.356 GB, free: 5.832 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.795e-05/0.3687, allocations: 3.938 kB / 1.356 GB, free: 5.828 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.369, allocations: 67.75 kB / 1.356 GB, free: 5.762 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.3692, allocations: 23.91 kB / 1.356 GB, free: 5.738 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.816e-05/0.3693, allocations: 12 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.3694, allocations: 23.92 kB / 1.356 GB, free: 5.703 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.3695, allocations: 11.94 kB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.3695, allocations: 4 kB / 1.356 GB, free: 5.688 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.3696, allocations: 59.88 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.3696, allocations: 4 kB / 1.356 GB, free: 5.625 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.3697, allocations: 19.86 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.3698, allocations: 67.73 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3698, allocations: 0 / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3699, allocations: 0 / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.3699, allocations: 0 / 1.356 GB, free: 5.539 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005233/0.3704, allocations: 282.1 kB / 1.357 GB, free: 5.234 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3704, allocations: 8.031 kB / 1.357 GB, free: 5.227 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01592/0.3863, allocations: 2.432 MB / 1.359 GB, free: 2.793 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.3867, allocations: 154.4 kB / 1.359 GB, free: 2.617 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3867, allocations: 4.375 kB / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.3868, allocations: 4.359 kB / 1.359 GB, free: 2.609 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005765/0.3925, allocations: 1.02 MB / 1.36 GB, free: 1.582 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3926, allocations: 3.938 kB / 1.36 GB, free: 1.578 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.3926, allocations: 3.938 kB / 1.36 GB, free: 1.574 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3926, allocations: 4 kB / 1.36 GB, free: 1.57 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.4035, allocations: 1.857 MB / 1.362 GB, free: 15.71 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006754/0.4102, allocations: 1.473 MB / 1.364 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/0.4204, allocations: 1.876 MB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005164/0.4256, allocations: 0.9413 MB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.4256, allocations: 3.938 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.4256, allocations: 30.56 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.964e-06/0.4256, allocations: 0 / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.01545/0.4411, allocations: 2.737 MB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.4411, allocations: 55.44 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.4413, allocations: 109.8 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.4413, allocations: 25.7 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.4414, allocations: 88.12 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.4414, allocations: 3.953 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.4415, allocations: 29.69 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4417, allocations: 310.8 kB / 1.37 GB, free: 7.914 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005189/0.4469, allocations: 0.9364 MB / 1.37 GB, free: 6.977 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005149/0.452, allocations: 0.9404 MB / 1.371 GB, free: 6.035 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009525/0.4615, allocations: 1.683 MB / 1.373 GB, free: 4.348 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.4615, allocations: 0 / 1.373 GB, free: 4.348 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.009835/0.4714, allocations: 1.816 MB / 1.375 GB, free: 2.523 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.4714, allocations: 8 kB / 1.375 GB, free: 2.516 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.4714, allocations: 0 / 1.375 GB, free: 2.516 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.4714, allocations: 0 / 1.375 GB, free: 2.516 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00293/0.4744, allocations: 463.5 kB / 1.375 GB, free: 2.062 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.4744, allocations: 4 kB / 1.375 GB, free: 2.059 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/0.4772, allocations: 451.5 kB / 1.376 GB, free: 1.617 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.4772, allocations: 7.922 kB / 1.376 GB, free: 1.609 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 (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 0.0001598/0.4774, allocations: 126.4 kB / 1.376 GB, free: 1.477 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.4774, allocations: 0 / 1.376 GB, free: 1.477 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.722e-05/0.4775, allocations: 11.98 kB / 1.376 GB, free: 1.465 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4775, allocations: 4 kB / 1.376 GB, free: 1.461 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4775, allocations: 3.938 kB / 1.376 GB, free: 1.457 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.4775, allocations: 0 / 1.376 GB, free: 1.457 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.478, allocations: 337.2 kB / 1.376 GB, free: 1.082 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.478, allocations: 0 / 1.376 GB, free: 1.082 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002917/0.4809, allocations: 467.4 kB / 1.377 GB, free: 0.625 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4809, allocations: 0 / 1.377 GB, free: 0.625 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.4809, allocations: 7.984 kB / 1.377 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4809, allocations: 0 / 1.377 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4809, allocations: 0 / 1.377 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/0.4912, allocations: 1.915 MB / 1.378 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.4912, allocations: 0 / 1.378 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.4913, allocations: 4 kB / 1.378 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002953/0.4942, allocations: 459.4 kB / 1.379 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.4943, allocations: 0 / 1.379 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.4943, allocations: 7.984 kB / 1.379 GB, free: 14.22 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.205e-05/0.4944, allocations: 87.27 kB / 1.379 GB, free: 14.14 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4944, allocations: 0 / 1.379 GB, free: 14.14 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003149/0.4947, allocations: 36 kB / 1.379 GB, free: 14.1 MB / 1.076 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.000147/0.4948, allocations: 91.25 kB / 1.379 GB, free: 14 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01078/0.5056, allocations: 1.877 MB / 1.381 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5056, allocations: 64 / 1.381 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005319/0.5109, allocations: 0.9365 MB / 1.382 GB, free: 11.19 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.5112, allocations: 11.88 kB / 1.382 GB, free: 11.18 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005739/0.5169, allocations: 1.074 MB / 1.383 GB, free: 10.07 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.5173, allocations: 0.6807 MB / 1.384 GB, free: 9.359 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.5175, allocations: 23.39 kB / 1.384 GB, free: 9.336 MB / 1.076 GB Notification: Performance of SimCode: time 7.62e-07/0.5175, allocations: 0 / 1.384 GB, free: 9.336 MB / 1.076 GB Notification: Performance of Templates: time 0.004793/0.5223, allocations: 2.791 MB / 1.386 GB, free: 6.512 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.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: 11.420260396989761]