Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.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.001276/0.001281, allocations: 111.7 kB / 17.08 MB, free: 6.012 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.001276/0.001276, allocations: 191.7 kB / 20.03 MB, free: 3.082 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.365/1.365, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.905/2.905, allocations: 489.2 MB / 0.7687 GB, free: 3.773 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.91 kB / 1.103 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8789/0.8809, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002677/0.8836, allocations: 1.465 MB / 1.264 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004137/0.8841, allocations: 153.7 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.564e-05/0.8841, allocations: 0.8125 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.603e-05/0.8841, allocations: 4.453 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.761e-05/0.8842, allocations: 3.109 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.8845, allocations: 31.98 kB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.8846, allocations: 38.98 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.8848, allocations: 29.14 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.075e-05/0.8848, allocations: 21.03 kB / 1.264 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.94e-05/0.8849, allocations: 18.41 kB / 1.264 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.8849, allocations: 3.969 kB / 1.264 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.885, allocations: 36.52 kB / 1.264 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.885, allocations: 11.83 kB / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.8851, allocations: 17.42 kB / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.8853, allocations: 68.97 kB / 1.264 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8853, allocations: 1.078 kB / 1.264 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8853, allocations: 0 / 1.264 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.8853, allocations: 0.875 kB / 1.264 GB, free: 6.754 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004412/0.8857, allocations: 356.9 kB / 1.265 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.8858, allocations: 14.19 kB / 1.265 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.887, allocations: 216 kB / 1.265 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.943e-05/0.8871, allocations: 169.1 kB / 1.265 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.8871, allocations: 5.938 kB / 1.265 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.8871, allocations: 6.469 kB / 1.265 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.8878, allocations: 192.2 kB / 1.265 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.8878, allocations: 192 / 1.265 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.8878, allocations: 8.719 kB / 1.265 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.8879, allocations: 1.391 kB / 1.265 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009862/0.8888, allocations: 285.5 kB / 1.266 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009455/0.8898, allocations: 432.4 kB / 1.266 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.891, allocations: 293 kB / 1.266 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003755/0.8914, allocations: 101.7 kB / 1.266 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.8914, allocations: 1.422 kB / 1.266 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.8914, allocations: 31.28 kB / 1.266 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.8914, allocations: 0 / 1.266 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.001278/0.8927, allocations: 311.4 kB / 1.267 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.8928, allocations: 53.12 kB / 1.267 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.8929, allocations: 122.2 kB / 1.267 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.8929, allocations: 25.7 kB / 1.267 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.8929, allocations: 92.55 kB / 1.267 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.893, allocations: 10.2 kB / 1.267 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.298e-05/0.893, allocations: 19.72 kB / 1.267 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.792e-05/0.8931, allocations: 318.3 kB / 1.267 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.8935, allocations: 99.3 kB / 1.267 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.8939, allocations: 92.48 kB / 1.268 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007193/0.8946, allocations: 173 kB / 1.268 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8946, allocations: 0 / 1.268 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007825/0.8954, allocations: 221.1 kB / 1.268 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.8954, allocations: 5.031 kB / 1.268 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.8954, allocations: 0 / 1.268 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.8955, allocations: 6.453 kB / 1.268 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.8957, allocations: 32.44 kB / 1.268 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.8957, allocations: 0 / 1.268 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.8959, allocations: 32.25 kB / 1.268 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.896, allocations: 2.25 kB / 1.268 GB, free: 4.75 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 (3): * Single equations (assignments): 3 * 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 6.763e-05/0.896, allocations: 129.9 kB / 1.268 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.8961, allocations: 6.312 kB / 1.268 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.8961, allocations: 14.16 kB / 1.268 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.8961, allocations: 0.7188 kB / 1.268 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8961, allocations: 0.7812 kB / 1.268 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.8961, allocations: 0 / 1.268 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.8964, allocations: 212.3 kB / 1.268 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8964, allocations: 0 / 1.268 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.8966, allocations: 38.36 kB / 1.268 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.8966, allocations: 4 kB / 1.268 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.8967, allocations: 1.531 kB / 1.268 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.8967, allocations: 2.391 kB / 1.268 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8967, allocations: 4.719 kB / 1.268 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008093/0.8975, allocations: 313.8 kB / 1.269 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.588e-05/0.8975, allocations: 83.22 kB / 1.269 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.8975, allocations: 1.516 kB / 1.269 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.8978, allocations: 27.5 kB / 1.269 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.8978, allocations: 1.859 kB / 1.269 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.8978, allocations: 4.172 kB / 1.269 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.348e-05/0.8979, allocations: 95.7 kB / 1.269 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8979, allocations: 4.781 kB / 1.269 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002402/0.8981, allocations: 12.16 kB / 1.269 GB, free: 4.027 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 (3): * Single equations (assignments): 3 * 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.000107/0.8982, allocations: 99 kB / 1.269 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008153/0.8991, allocations: 202 kB / 1.269 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8991, allocations: 0 / 1.269 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.8995, allocations: 102.8 kB / 1.269 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.8997, allocations: 7.281 kB / 1.269 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009322/0.9007, allocations: 280.7 kB / 1.27 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.9008, allocations: 0.6897 MB / 1.27 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.9009, allocations: 13.45 kB / 1.27 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.9009, allocations: 0 / 1.27 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of Templates: time 0.003047/0.9039, allocations: 1.176 MB / 1.271 GB, free: 2.941 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.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: 10.804464801913127]