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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 110.5 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 190.7 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.669/2.669, allocations: 472.7 MB / 0.746 GB, free: 456 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 67.89 kB / 1.07 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.052, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003496/1.055, allocations: 1.452 MB / 1.228 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0005167/1.056, allocations: 143.6 kB / 1.228 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/1.056, allocations: 0 / 1.228 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.887e-05/1.056, allocations: 7.922 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.536e-05/1.056, allocations: 3.938 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/1.056, allocations: 35.91 kB / 1.228 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001441/1.056, allocations: 43.84 kB / 1.228 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/1.057, allocations: 23.98 kB / 1.228 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.824e-05/1.057, allocations: 15.92 kB / 1.228 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.84e-05/1.057, allocations: 23.92 kB / 1.228 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/1.057, allocations: 4 kB / 1.228 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/1.057, allocations: 27.97 kB / 1.228 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/1.057, allocations: 7.938 kB / 1.228 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/1.057, allocations: 23.92 kB / 1.228 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/1.057, allocations: 67.31 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.057, allocations: 0 / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.634e-06/1.057, allocations: 0 / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.181e-06/1.057, allocations: 0 / 1.228 GB, free: 11.64 MB / 0.9512 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.0007084/1.058, allocations: 364.2 kB / 1.229 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/1.058, allocations: 8.031 kB / 1.229 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/1.059, allocations: 216.5 kB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/1.059, allocations: 180.2 kB / 1.229 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/1.059, allocations: 8.375 kB / 1.229 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/1.059, allocations: 4.359 kB / 1.229 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/1.06, allocations: 202 kB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/1.06, allocations: 192 / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/1.06, allocations: 3.938 kB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/1.06, allocations: 0 / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008913/1.061, allocations: 275.6 kB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/1.062, allocations: 449.1 kB / 1.23 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/1.063, allocations: 282.2 kB / 1.23 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003736/1.064, allocations: 108.8 kB / 1.23 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/1.064, allocations: 0 / 1.23 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/1.064, allocations: 34.56 kB / 1.23 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/1.064, allocations: 0 / 1.23 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.001225/1.065, allocations: 309.3 kB / 1.231 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/1.065, allocations: 51.41 kB / 1.231 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/1.065, allocations: 117.8 kB / 1.231 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/1.065, allocations: 25.7 kB / 1.231 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/1.065, allocations: 92.12 kB / 1.231 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/1.065, allocations: 15.92 kB / 1.231 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.315e-05/1.065, allocations: 13.72 kB / 1.231 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.066, allocations: 330.8 kB / 1.231 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/1.066, allocations: 91.88 kB / 1.231 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/1.066, allocations: 95.88 kB / 1.231 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006416/1.067, allocations: 168.6 kB / 1.231 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.76e-05/1.067, allocations: 0 / 1.231 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007641/1.068, allocations: 221.4 kB / 1.232 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.068, allocations: 4 kB / 1.232 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.068, allocations: 4 kB / 1.232 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/1.068, allocations: 0 / 1.232 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/1.068, allocations: 27.95 kB / 1.232 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/1.068, allocations: 384 / 1.232 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/1.068, allocations: 39.89 kB / 1.232 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/1.068, allocations: 4 kB / 1.232 GB, free: 7.75 MB / 0.9512 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 0.000106/1.069, allocations: 117.8 kB / 1.232 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/1.069, allocations: 3.938 kB / 1.232 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.509e-05/1.069, allocations: 15.89 kB / 1.232 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.069, allocations: 0 / 1.232 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.069, allocations: 0 / 1.232 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/1.069, allocations: 81.06 kB / 1.232 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/1.069, allocations: 8.328 kB / 1.232 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/1.069, allocations: 27.89 kB / 1.232 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/1.069, allocations: 11.98 kB / 1.232 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000958/1.07, allocations: 324.5 kB / 1.232 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008436/1.071, allocations: 382.6 kB / 1.233 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003914/1.071, allocations: 99.86 kB / 1.233 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.434e-05/1.071, allocations: 99.2 kB / 1.233 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of Backend: time 5.41e-07/1.071, allocations: 0 / 1.233 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008842/1.072, allocations: 186.2 kB / 1.233 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006175/1.073, allocations: 0.5804 MB / 1.234 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of Templates: time 0.00507/1.078, allocations: 1.668 MB / 1.235 GB, free: 4.062 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches