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.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.001854/0.001854, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.00169/0.00169, allocations: 165.1 kB / 22.46 MB, free: 5.359 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.443/1.443, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.826/2.826, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.642e-05, allocations: 2.281 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002883/0.00291, allocations: 1.475 MB / 0.9524 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.004078, allocations: 0.5889 MB / 0.953 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/0.004133, allocations: 0 / 0.953 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.773e-05/0.004161, allocations: 3.938 kB / 0.953 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.895e-05/0.00422, allocations: 7.875 kB / 0.953 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.004556, allocations: 63.73 kB / 0.9531 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.004667, allocations: 35.86 kB / 0.9531 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.061e-05/0.004748, allocations: 0 / 0.9531 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.004896, allocations: 23.98 kB / 0.9531 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.994e-05/0.004946, allocations: 15.91 kB / 0.9531 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.00496, allocations: 0 / 0.9531 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.00509, allocations: 59.89 kB / 0.9532 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.005102, allocations: 0 / 0.9532 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.005127, allocations: 8 kB / 0.9532 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.005297, allocations: 79.75 kB / 0.9533 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.005301, allocations: 0 / 0.9533 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.02e-07/0.005302, allocations: 4 kB / 0.9533 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.005305, allocations: 4 kB / 0.9533 GB, free: 9.195 MB / 0.8575 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.0004665/0.005772, allocations: 274.1 kB / 0.9535 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.00582, allocations: 12.03 kB / 0.9535 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.005989, allocations: 12.92 kB / 0.9536 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.006198, allocations: 121.7 kB / 0.9537 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.006209, allocations: 384 / 0.9537 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.006218, allocations: 384 / 0.9537 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.006364, allocations: 42.25 kB / 0.9537 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.006373, allocations: 4.188 kB / 0.9537 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.006384, allocations: 8.312 kB / 0.9537 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.006392, allocations: 7.875 kB / 0.9537 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.006505, allocations: 19.98 kB / 0.9538 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.006888, allocations: 196.6 kB / 0.9539 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.006996, allocations: 34.56 kB / 0.954 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.079e-05/0.007047, allocations: 12.92 kB / 0.954 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006614/0.007708, allocations: 99.86 kB / 0.9541 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.007744, allocations: 38.5 kB / 0.9541 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.007745, allocations: 0 / 0.9541 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002526/0.007998, allocations: 69.56 kB / 0.9542 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.008041, allocations: 51.41 kB / 0.9542 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.008141, allocations: 113.8 kB / 0.9543 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.008176, allocations: 29.83 kB / 0.9544 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.008231, allocations: 84.14 kB / 0.9545 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.008247, allocations: 3.953 kB / 0.9545 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.008282, allocations: 17.7 kB / 0.9545 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.008442, allocations: 318.8 kB / 0.9548 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.549e-05/0.008487, allocations: 7.984 kB / 0.9548 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-05/0.008525, allocations: 8 kB / 0.9548 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.507e-05/0.00861, allocations: 28.84 kB / 0.9548 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.008612, allocations: 64 / 0.9548 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001321/0.008744, allocations: 61.58 kB / 0.9549 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.008765, allocations: 7.938 kB / 0.9549 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.008771, allocations: 3.984 kB / 0.9549 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.008786, allocations: 3.984 kB / 0.9549 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-05/0.008851, allocations: 8 kB / 0.9549 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.008855, allocations: 0 / 0.9549 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.008884, allocations: 0 / 0.9549 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.008889, allocations: 0 / 0.9549 GB, free: 7.355 MB / 0.8575 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 9.693e-05/0.008986, allocations: 122.7 kB / 0.955 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.009013, allocations: 3.938 kB / 0.955 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.009178, allocations: 61.3 kB / 0.9551 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.009181, allocations: 4.312 kB / 0.9551 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.009185, allocations: 0 / 0.9551 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.009187, allocations: 0 / 0.9551 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.009335, allocations: 117.2 kB / 0.9552 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.009337, allocations: 11.88 kB / 0.9552 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.00938, allocations: 4 kB / 0.9552 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.009381, allocations: 0 / 0.9552 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.009394, allocations: 11.97 kB / 0.9552 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.009395, allocations: 0 / 0.9552 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.009396, allocations: 0 / 0.9552 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.00958, allocations: 155.5 kB / 0.9554 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-06/0.009587, allocations: 0 / 0.9554 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.009602, allocations: 7.938 kB / 0.9554 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.053e-05/0.009662, allocations: 0 / 0.9554 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.009696, allocations: 3.984 kB / 0.9554 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.009702, allocations: 4 kB / 0.9554 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.436e-05/0.009756, allocations: 91.25 kB / 0.9555 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.009756, allocations: 4 kB / 0.9555 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000242/0.009998, allocations: 15.98 kB / 0.9555 GB, free: 6.688 MB / 0.8575 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.0001759/0.01017, allocations: 111.2 kB / 0.9556 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.0103, allocations: 23.97 kB / 0.9556 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.0103, allocations: 0 / 0.9556 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.668e-05/0.01035, allocations: 8 kB / 0.9556 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.01056, allocations: 8 kB / 0.9556 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.01085, allocations: 124.8 kB / 0.9558 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.528e-05/0.01092, allocations: 67.33 kB / 0.9558 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.99e-05/0.01094, allocations: 0 / 0.9558 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.01096, allocations: 12.5 kB / 0.9558 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of SimCode: time 3.6e-07/0.01096, allocations: 0 / 0.9558 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of Templates: time 0.003406/0.01437, allocations: 0.6874 MB / 0.9565 GB, free: 5.605 MB / 0.8575 GB " [Timeout remaining time 300] 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 7.750184960663319]