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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 249.4 MB, free: 3.121 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.789/2.789, allocations: 476.7 MB / 0.7629 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 177] 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=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 0.001919/0.001919, allocations: 67.91 kB / 1.107 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.014, allocations: 168.7 MB / 1.272 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002511/1.016, allocations: 1.49 MB / 1.273 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008938/1.017, allocations: 0.5723 MB / 1.274 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/1.017, allocations: 0 / 1.274 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/1.017, allocations: 5.344 kB / 1.274 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.078e-05/1.017, allocations: 6.359 kB / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/1.018, allocations: 47.98 kB / 1.274 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.804e-05/1.018, allocations: 37.28 kB / 1.274 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.86e-05/1.018, allocations: 1.719 kB / 1.274 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.149e-05/1.018, allocations: 15.48 kB / 1.274 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.722e-05/1.018, allocations: 11.39 kB / 1.274 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/1.018, allocations: 2.75 kB / 1.274 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/1.018, allocations: 60.95 kB / 1.274 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.616e-06/1.018, allocations: 8.953 kB / 1.274 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.453e-05/1.018, allocations: 10.22 kB / 1.274 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/1.018, allocations: 68.75 kB / 1.274 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/1.018, allocations: 0.9688 kB / 1.274 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/1.018, allocations: 0 / 1.274 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.686e-06/1.018, allocations: 4 kB / 1.274 GB, free: 6.383 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.0003066/1.018, allocations: 346.8 kB / 1.275 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/1.018, allocations: 9.031 kB / 1.275 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/1.018, allocations: 7.359 kB / 1.275 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.712e-05/1.018, allocations: 165.7 kB / 1.275 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/1.018, allocations: 1.438 kB / 1.275 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-06/1.018, allocations: 5.531 kB / 1.275 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/1.019, allocations: 45.17 kB / 1.275 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/1.019, allocations: 5.031 kB / 1.275 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/1.019, allocations: 3.938 kB / 1.275 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/1.019, allocations: 0.875 kB / 1.275 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/1.019, allocations: 20.3 kB / 1.275 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/1.019, allocations: 253.4 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.551e-05/1.019, allocations: 31.06 kB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/1.019, allocations: 18.8 kB / 1.275 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007248/1.02, allocations: 476.8 kB / 1.276 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/1.02, allocations: 35.56 kB / 1.276 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/1.02, allocations: 4 kB / 1.276 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002066/1.02, allocations: 68.61 kB / 1.276 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/1.02, allocations: 52.19 kB / 1.276 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.146e-05/1.02, allocations: 107.1 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/1.02, allocations: 26.48 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/1.02, allocations: 89.58 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/1.02, allocations: 6.594 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/1.02, allocations: 16.16 kB / 1.276 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.398e-05/1.02, allocations: 317.4 kB / 1.276 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.945e-05/1.02, allocations: 9.984 kB / 1.276 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.63e-05/1.02, allocations: 13.03 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.07e-05/1.02, allocations: 29.5 kB / 1.276 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/1.02, allocations: 1 kB / 1.276 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001071/1.02, allocations: 55.7 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/1.02, allocations: 4.625 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/1.02, allocations: 1.703 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/1.021, allocations: 0 / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.456e-05/1.021, allocations: 5.641 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/1.021, allocations: 1.344 kB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/1.021, allocations: 6.609 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/1.021, allocations: 4.531 kB / 1.276 GB, free: 4.188 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.29e-05/1.021, allocations: 115.5 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/1.021, allocations: 14.09 kB / 1.277 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/1.021, allocations: 60.86 kB / 1.277 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/1.021, allocations: 0 / 1.277 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.021, allocations: 4.688 kB / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.021, allocations: 0.625 kB / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/1.021, allocations: 161.7 kB / 1.277 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/1.021, allocations: 0 / 1.277 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/1.021, allocations: 11.53 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/1.021, allocations: 0.7188 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/1.021, allocations: 8.828 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/1.021, allocations: 0 / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.021, allocations: 0.5312 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/1.021, allocations: 160.2 kB / 1.277 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/1.021, allocations: 78.61 kB / 1.277 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/1.021, allocations: 0.9062 kB / 1.277 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/1.021, allocations: 5.688 kB / 1.277 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/1.021, allocations: 3.172 kB / 1.277 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/1.021, allocations: 0.6562 kB / 1.277 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.579e-05/1.021, allocations: 89.55 kB / 1.277 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.021, allocations: 0 / 1.277 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002482/1.022, allocations: 15.53 kB / 1.277 GB, free: 3.469 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.000166/1.022, allocations: 117.1 kB / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001503/1.022, allocations: 25.55 kB / 1.277 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/1.022, allocations: 0 / 1.277 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.714e-05/1.022, allocations: 18.31 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/1.022, allocations: 7.156 kB / 1.277 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/1.022, allocations: 130.8 kB / 1.277 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/1.023, allocations: 0.6795 MB / 1.278 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.862e-05/1.023, allocations: 5.875 kB / 1.278 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.02e-05/1.023, allocations: 13.25 kB / 1.278 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/1.023, allocations: 0 / 1.278 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of Templates: time 0.003021/1.026, allocations: 0.6781 MB / 1.279 GB, free: 2.434 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/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.92320501524955]