Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001362/0.001362, allocations: 113.5 kB / 16.42 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.001451/0.001451, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 390.2 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 71.89 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9508/0.953, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002489/0.9555, allocations: 1.452 MB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004214/0.956, allocations: 142.2 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.956, allocations: 8.969 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.384e-05/0.9561, allocations: 4.656 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.214e-05/0.9562, allocations: 5.859 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.9564, allocations: 32.88 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.9565, allocations: 38.77 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.9567, allocations: 21.34 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.119e-05/0.9567, allocations: 21 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.24e-05/0.9568, allocations: 18.05 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.9568, allocations: 4.5 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.9569, allocations: 36.27 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.9569, allocations: 11.86 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.957, allocations: 14.08 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.9571, allocations: 69.88 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9571, allocations: 0 / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9572, allocations: 1.062 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.9572, allocations: 4 kB / 1.09 GB, free: 4.266 MB / 0.8575 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.0004096/0.9576, allocations: 361.8 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.9576, allocations: 9.312 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.9588, allocations: 216.4 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.96e-05/0.9589, allocations: 165.6 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.9589, allocations: 2.25 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.959, allocations: 3.703 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006247/0.9596, allocations: 191.7 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.9596, allocations: 192 / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.9596, allocations: 5.484 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.9596, allocations: 4.781 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009406/0.9606, allocations: 282 kB / 1.092 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009265/0.9615, allocations: 452.1 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.9627, allocations: 284.7 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/0.9631, allocations: 105.2 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.9632, allocations: 5.969 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.9632, allocations: 32.83 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 2.214e-06/0.9632, allocations: 4 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.001342/0.9646, allocations: 305.4 kB / 1.093 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.9646, allocations: 56.78 kB / 1.093 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.9647, allocations: 118.2 kB / 1.093 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.9647, allocations: 26.42 kB / 1.093 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.9648, allocations: 87.89 kB / 1.093 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.9648, allocations: 6.172 kB / 1.093 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.9649, allocations: 23.81 kB / 1.093 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.9649, allocations: 318.9 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/0.9653, allocations: 99.05 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/0.9657, allocations: 92.66 kB / 1.094 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007489/0.9665, allocations: 177.2 kB / 1.094 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.9665, allocations: 0.9062 kB / 1.094 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008375/0.9673, allocations: 210.8 kB / 1.094 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.9674, allocations: 9.922 kB / 1.094 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.9674, allocations: 3.984 kB / 1.094 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.9674, allocations: 0.6875 kB / 1.094 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.9677, allocations: 41.66 kB / 1.094 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.9677, allocations: 0.75 kB / 1.094 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.9679, allocations: 27.06 kB / 1.094 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.968, allocations: 2.531 kB / 1.094 GB, free: 2.262 MB / 0.8575 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.783e-05/0.968, allocations: 124 kB / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.9681, allocations: 6.25 kB / 1.094 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.9681, allocations: 7.656 kB / 1.094 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.9681, allocations: 1.391 kB / 1.094 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.9681, allocations: 0 / 1.094 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.9682, allocations: 87.16 kB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.9682, allocations: 6.281 kB / 1.094 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.9684, allocations: 34.53 kB / 1.094 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.9685, allocations: 3.156 kB / 1.094 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001006/0.9695, allocations: 317.4 kB / 1.095 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008604/0.9704, allocations: 390.7 kB / 1.095 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004094/0.9708, allocations: 102.4 kB / 1.095 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.05e-05/0.9708, allocations: 93.34 kB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of Backend: time 5.31e-07/0.9708, allocations: 0.6562 kB / 1.095 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008651/0.9717, allocations: 183.1 kB / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004183/0.9721, allocations: 0.5836 MB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of Templates: time 0.004917/0.9771, allocations: 1.683 MB / 1.098 GB, free: 0.7227 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches