Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001286/0.001286, allocations: 110 kB / 18.93 MB, free: 2.945 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.001422/0.001422, allocations: 191.2 kB / 22.23 MB, free: 5.156 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.418/1.418, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 63.91 kB / 1.061 GB, free: 3 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7763/0.7784, allocations: 160.8 MB / 1.218 GB, free: 3.723 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003126/0.7815, allocations: 1.484 MB / 1.22 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.7827, allocations: 0.5703 MB / 1.22 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.651e-05/0.7827, allocations: 1.188 kB / 1.22 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.7828, allocations: 3.938 kB / 1.22 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.647e-05/0.7828, allocations: 8.891 kB / 1.22 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.7832, allocations: 46.72 kB / 1.221 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.298e-05/0.7832, allocations: 30.72 kB / 1.221 GB, free: 2.051 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.7833, allocations: 7.469 kB / 1.221 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.7835, allocations: 12.86 kB / 1.221 GB, free: 2.039 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.526e-05/0.7835, allocations: 16.73 kB / 1.221 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.7835, allocations: 6.344 kB / 1.221 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.7837, allocations: 50.48 kB / 1.221 GB, free: 2 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.7837, allocations: 13.2 kB / 1.221 GB, free: 1.988 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.7837, allocations: 10.22 kB / 1.221 GB, free: 1.98 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.7839, allocations: 68.09 kB / 1.221 GB, free: 1.941 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7839, allocations: 0.9688 kB / 1.221 GB, free: 1.941 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.103e-06/0.7839, allocations: 0 / 1.221 GB, free: 1.941 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.7839, allocations: 3.938 kB / 1.221 GB, free: 1.938 MB / 0.92 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.0005229/0.7845, allocations: 353.6 kB / 1.221 GB, free: 1.559 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.7845, allocations: 13.72 kB / 1.221 GB, free: 1.555 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.7845, allocations: 2.094 kB / 1.221 GB, free: 1.555 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.7847, allocations: 167.9 kB / 1.221 GB, free: 1.355 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.7847, allocations: 384 / 1.221 GB, free: 1.355 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.7847, allocations: 1.656 kB / 1.221 GB, free: 1.355 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.7848, allocations: 46.06 kB / 1.221 GB, free: 1.312 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.7849, allocations: 0 / 1.221 GB, free: 1.312 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.7849, allocations: 13.17 kB / 1.221 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.7849, allocations: 0 / 1.221 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.514e-05/0.785, allocations: 27.56 kB / 1.221 GB, free: 1.285 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.7853, allocations: 250.9 kB / 1.222 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.602e-05/0.7854, allocations: 32.31 kB / 1.222 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.7855, allocations: 14.06 kB / 1.222 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008687/0.7863, allocations: 481.2 kB / 1.222 GB, free: 456 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.7864, allocations: 34.5 kB / 1.222 GB, free: 412 kB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.7864, allocations: 0.9375 kB / 1.222 GB, free: 412 kB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002524/0.7866, allocations: 66.5 kB / 1.222 GB, free: 360 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.7867, allocations: 56.62 kB / 1.222 GB, free: 292 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.11e-05/0.7868, allocations: 107.2 kB / 1.222 GB, free: 184 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.7868, allocations: 26.83 kB / 1.222 GB, free: 152 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.7868, allocations: 89.52 kB / 1.222 GB, free: 60 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.7869, allocations: 9.125 kB / 1.222 GB, free: 52 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.7869, allocations: 12.28 kB / 1.222 GB, free: 36 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.787, allocations: 316 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.673e-05/0.7871, allocations: 9.891 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.592e-05/0.7871, allocations: 17.28 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.836e-05/0.7872, allocations: 29.12 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.7872, allocations: 1.312 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000123/0.7873, allocations: 53.39 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.7873, allocations: 5.531 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.7874, allocations: 0 / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.7874, allocations: 1.156 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.033e-05/0.7874, allocations: 8.781 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.7874, allocations: 0 / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.166e-05/0.7875, allocations: 2.406 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.7875, allocations: 7.984 kB / 1.223 GB, free: 15.63 MB / 0.9356 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.715e-05/0.7876, allocations: 124.2 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.7876, allocations: 9.578 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.7878, allocations: 60.95 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.7878, allocations: 5.094 kB / 1.223 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7878, allocations: 3.938 kB / 1.223 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.7878, allocations: 0 / 1.223 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.7879, allocations: 160.2 kB / 1.223 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.788, allocations: 3.938 kB / 1.223 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.788, allocations: 9.141 kB / 1.223 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.788, allocations: 0 / 1.223 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.788, allocations: 1.062 kB / 1.223 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.788, allocations: 0 / 1.223 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.788, allocations: 1.094 kB / 1.223 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.7882, allocations: 161.1 kB / 1.223 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.7882, allocations: 82.19 kB / 1.223 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.7883, allocations: 0 / 1.223 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.031e-05/0.7883, allocations: 2.406 kB / 1.223 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.7884, allocations: 5.297 kB / 1.223 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.7884, allocations: 0 / 1.223 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.73e-05/0.7884, allocations: 86.31 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.7884, allocations: 4 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002554/0.7887, allocations: 19.98 kB / 1.224 GB, free: 14.88 MB / 0.9356 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.0001805/0.7889, allocations: 110.2 kB / 1.224 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.789, allocations: 21.23 kB / 1.224 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.789, allocations: 0 / 1.224 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.086e-05/0.789, allocations: 20.08 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.7893, allocations: 9.375 kB / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.7896, allocations: 124.2 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.7899, allocations: 0.6782 MB / 1.225 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.455e-05/0.79, allocations: 2.219 kB / 1.225 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.79, allocations: 8.594 kB / 1.225 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.79, allocations: 0 / 1.225 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of Templates: time 0.005993/0.796, allocations: 0.6917 MB / 1.225 GB, free: 13.56 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.398620935156941]