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.001724/0.001724, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002463/0.002463, allocations: 211.6 kB / 22.24 MB, free: 5.262 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.846/2.846, allocations: 475.9 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002147/0.002147, allocations: 70.77 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.35, allocations: 169.9 MB / 1.283 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002792/0.3528, allocations: 1.485 MB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.3539, allocations: 0.5822 MB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.264e-05/0.3539, allocations: 0 / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.354, allocations: 3.938 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.116e-05/0.354, allocations: 7.938 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.3543, allocations: 55.81 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.3544, allocations: 35.84 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.3545, allocations: 15.98 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.3547, allocations: 15.94 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.738e-05/0.3547, allocations: 11.92 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.3547, allocations: 0 / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.3549, allocations: 59.94 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.3549, allocations: 7.938 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.3549, allocations: 7.938 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.3551, allocations: 75.72 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3551, allocations: 0 / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3551, allocations: 0 / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.3551, allocations: 0 / 1.285 GB, free: 9.508 MB / 0.9825 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.0004501/0.3555, allocations: 282.1 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3556, allocations: 12.03 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.3557, allocations: 12.92 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.3559, allocations: 126.4 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3559, allocations: 384 / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.356, allocations: 384 / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.3561, allocations: 49.94 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.3561, allocations: 0 / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3561, allocations: 0 / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.3561, allocations: 8 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.964e-05/0.3562, allocations: 19.92 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.3565, allocations: 204.6 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.3566, allocations: 34.5 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.824e-05/0.3567, allocations: 16.86 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006298/0.3573, allocations: 99.86 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.3573, allocations: 30.56 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3573, allocations: 3.938 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002507/0.3576, allocations: 65.62 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.3576, allocations: 55.41 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.003e-05/0.3577, allocations: 105.8 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.3577, allocations: 25.7 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.3578, allocations: 92.27 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.3578, allocations: 3.953 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.3578, allocations: 21.7 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.358, allocations: 314.8 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.395e-05/0.358, allocations: 11.98 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.43e-05/0.3581, allocations: 8 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.663e-05/0.3581, allocations: 24.84 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3581, allocations: 0 / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001366/0.3583, allocations: 61.69 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3583, allocations: 10.02 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3583, allocations: 0 / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3583, allocations: 0 / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.3584, allocations: 4 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.3584, allocations: 3.938 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.948e-05/0.3584, allocations: 4 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.3584, allocations: 0 / 1.287 GB, free: 7.66 MB / 0.9825 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 8.289e-05/0.3585, allocations: 121.8 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.3585, allocations: 7.984 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.3587, allocations: 61.3 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3587, allocations: 7.984 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3587, allocations: 0 / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3587, allocations: 0 / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.3588, allocations: 105.3 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.3588, allocations: 3.938 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.3589, allocations: 11.94 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.3589, allocations: 0 / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.3589, allocations: 4 kB / 1.287 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3589, allocations: 4.406 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3589, allocations: 3.938 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.3591, allocations: 151.5 kB / 1.287 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.3591, allocations: 7.891 kB / 1.287 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.3591, allocations: 3.938 kB / 1.287 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.148e-05/0.3592, allocations: 4 kB / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.3592, allocations: 3.984 kB / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.3592, allocations: 0 / 1.287 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.102e-05/0.3592, allocations: 87.28 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3592, allocations: 4.031 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002425/0.3595, allocations: 19.92 kB / 1.288 GB, free: 6.996 MB / 0.9825 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.0001673/0.3597, allocations: 107.2 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.3598, allocations: 27.91 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3598, allocations: 4 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.3598, allocations: 8 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.3601, allocations: 7.938 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.3604, allocations: 132.5 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.481e-05/0.3604, allocations: 71.33 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.3605, allocations: 4 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.3605, allocations: 7.438 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.3605, allocations: 0 / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of Templates: time 0.003298/0.3638, allocations: 0.6892 MB / 1.289 GB, free: 5.891 MB / 0.9825 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/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: 8.98883624188602]