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.001405/0.001405, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001499/0.001499, allocations: 204.3 kB / 22.18 MB, free: 5.211 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.442/1.442, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.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.959/2.959, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] 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.001981/0.001981, allocations: 67.89 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8715/0.8735, allocations: 168.7 MB / 1.274 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003233/0.8767, allocations: 1.469 MB / 1.275 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.8779, allocations: 0.5743 MB / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.878, allocations: 4 kB / 1.276 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.818e-05/0.878, allocations: 3.938 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.745e-05/0.8781, allocations: 7.922 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.8784, allocations: 47.83 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.798e-05/0.8785, allocations: 31.84 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.781e-05/0.8786, allocations: 4 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.681e-05/0.8787, allocations: 16 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.8788, allocations: 11.92 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.8788, allocations: 0 / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.8789, allocations: 59.94 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.8789, allocations: 11.88 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.879, allocations: 11.94 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.8791, allocations: 70.45 kB / 1.276 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8791, allocations: 0 / 1.276 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8791, allocations: 4 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.8791, allocations: 0 / 1.276 GB, free: 2.066 MB / 0.9669 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.0005503/0.8797, allocations: 351.2 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.8797, allocations: 8.031 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.8798, allocations: 4.938 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.8799, allocations: 176.2 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.88, allocations: 4.375 kB / 1.277 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.88, allocations: 384 / 1.277 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.8801, allocations: 46 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.8801, allocations: 0 / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.8801, allocations: 0 / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.8802, allocations: 4 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.399e-05/0.8802, allocations: 19.98 kB / 1.277 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.8807, allocations: 260.8 kB / 1.277 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.8808, allocations: 30.56 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.8808, allocations: 8.922 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009436/0.8818, allocations: 485.4 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.8818, allocations: 30.56 kB / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.863e-06/0.8818, allocations: 4 kB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002896/0.8821, allocations: 73.56 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.8821, allocations: 51.41 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.8823, allocations: 109.8 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.8823, allocations: 25.7 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.8823, allocations: 84.14 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.8824, allocations: 7.891 kB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.8824, allocations: 17.7 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.8826, allocations: 315 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.216e-05/0.8826, allocations: 12 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.129e-05/0.8827, allocations: 11.98 kB / 1.278 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.659e-05/0.8828, allocations: 28.78 kB / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8828, allocations: 0 / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001548/0.8829, allocations: 61.61 kB / 1.278 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.8829, allocations: 4 kB / 1.278 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.883, allocations: 4.094 kB / 1.278 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.883, allocations: 0 / 1.278 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.8831, allocations: 7.984 kB / 1.278 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.8831, allocations: 0 / 1.278 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.807e-05/0.8831, allocations: 4 kB / 1.278 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.8831, allocations: 3.938 kB / 1.278 GB, free: 15.54 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 9.945e-05/0.8832, allocations: 113.8 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.8832, allocations: 7.953 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/0.8834, allocations: 69.08 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.8834, allocations: 0 / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.8834, allocations: 0 / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.8834, allocations: 0 / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.8837, allocations: 169.6 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.8837, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/0.8837, allocations: 7.984 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.8837, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.8837, allocations: 4 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.8837, allocations: 4 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8837, allocations: 4.031 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.884, allocations: 147.5 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.848e-05/0.884, allocations: 85.05 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.884, allocations: 4 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.478e-05/0.8841, allocations: 0 / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.8841, allocations: 0 / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.8841, allocations: 8.031 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.702e-05/0.8842, allocations: 91.52 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8842, allocations: 0 / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002726/0.8845, allocations: 15.94 kB / 1.279 GB, free: 14.73 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.0002392/0.8847, allocations: 111.7 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.8849, allocations: 23.98 kB / 1.279 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8849, allocations: 0 / 1.279 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.511e-05/0.8849, allocations: 20.05 kB / 1.279 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.8852, allocations: 5.5 kB / 1.279 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.8856, allocations: 138.4 kB / 1.279 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.886, allocations: 0.6807 MB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.59e-05/0.886, allocations: 0 / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.886, allocations: 11.44 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.886, allocations: 0 / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of Templates: time 0.003745/0.8898, allocations: 0.6802 MB / 1.281 GB, free: 13 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.196184610016644]