Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_10_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_10_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.001312/0.001313, 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.001326/0.001326, 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.559/1.559, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084/1.085, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002546/1.088, allocations: 1.475 MB / 1.169 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003814/1.088, allocations: 146.8 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.626e-05/1.088, allocations: 0 / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.912e-05/1.088, allocations: 3.938 kB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.277e-05/1.088, allocations: 3.938 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/1.089, allocations: 35.89 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/1.089, allocations: 47.91 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/1.089, allocations: 16 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.681e-05/1.089, allocations: 19.92 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.502e-05/1.089, allocations: 19.86 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/1.089, allocations: 4 kB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-05/1.089, allocations: 43.95 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/1.089, allocations: 4 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/1.089, allocations: 23.86 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/1.089, allocations: 59.38 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.089, allocations: 4 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.713e-06/1.089, allocations: 0 / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.748e-06/1.089, allocations: 0 / 1.169 GB, free: 1.953 MB / 0.8887 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.0004498/1.09, allocations: 364.2 kB / 1.17 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/1.09, allocations: 12.92 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/1.091, allocations: 216.4 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/1.091, allocations: 168.3 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/1.091, allocations: 384 / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/1.091, allocations: 8.375 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/1.092, allocations: 190 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.092, allocations: 192 / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/1.092, allocations: 11.94 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/1.092, allocations: 0 / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009029/1.093, allocations: 283.6 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/1.094, allocations: 437.2 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/1.095, allocations: 282.4 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003989/1.095, allocations: 104.8 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/1.096, allocations: 0 / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/1.096, allocations: 38.5 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/1.096, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.001301/1.097, allocations: 313.3 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/1.097, allocations: 51.41 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/1.097, allocations: 125.8 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/1.097, allocations: 25.7 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.107e-05/1.097, allocations: 92.14 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/1.097, allocations: 15.84 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/1.097, allocations: 17.7 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.097, allocations: 322.8 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/1.098, allocations: 87.88 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/1.098, allocations: 103.8 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006806/1.099, allocations: 168.6 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.099, allocations: 0 / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007698/1.1, allocations: 217.5 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/1.1, allocations: 7.938 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.1, allocations: 0 / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/1.1, allocations: 0 / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/1.1, allocations: 39.94 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.1, allocations: 0 / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/1.1, allocations: 27.95 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/1.1, allocations: 0 / 1.173 GB, free: 14.07 MB / 0.9044 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 8.522e-05/1.1, allocations: 125.7 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/1.1, allocations: 7.953 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/1.1, allocations: 11.91 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/1.1, allocations: 4 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/1.1, allocations: 0 / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/1.1, allocations: 81.06 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/1.1, allocations: 0 / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/1.101, allocations: 35.88 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/1.101, allocations: 0 / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009648/1.102, allocations: 316.7 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008194/1.103, allocations: 390.5 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003762/1.103, allocations: 95.88 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.787e-05/1.103, allocations: 99.58 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of Backend: time 4.61e-07/1.103, allocations: 0 / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008222/1.104, allocations: 186.6 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005267/1.104, allocations: 0.5843 MB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of Templates: time 0.004747/1.109, allocations: 1.676 MB / 1.176 GB, free: 10.38 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches