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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005701/0.005701, allocations: 104.4 kB / 15.74 MB, free: 5.949 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.001081/0.001081, allocations: 192.3 kB / 16.67 MB, free: 5.871 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.323/1.323, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.509/2.509, allocations: 461.9 MB / 0.7347 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 71.83 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.839/0.8402, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002358/0.8426, allocations: 1.467 MB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003682/0.843, allocations: 151.5 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.843, allocations: 8 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.893e-05/0.8431, allocations: 3.938 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.937e-05/0.8431, allocations: 3.938 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.8434, allocations: 23.97 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.492e-05/0.8435, allocations: 47.78 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.8436, allocations: 27.98 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.629e-05/0.8437, allocations: 15.98 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.802e-05/0.8437, allocations: 19.86 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.8437, allocations: 4 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.737e-05/0.8438, allocations: 35.97 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.8439, allocations: 4 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.8439, allocations: 23.86 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.844, allocations: 63.8 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.8441, allocations: 4 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8441, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.8441, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9356 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.0004393/0.8445, allocations: 359.2 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.8446, allocations: 8.031 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.8457, allocations: 212.5 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.8458, allocations: 170.2 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.8458, allocations: 384 / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.8458, allocations: 8.375 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005877/0.8464, allocations: 190 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.8464, allocations: 3.938 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.8465, allocations: 12 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.8465, allocations: 0 / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009174/0.8474, allocations: 283.6 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009456/0.8484, allocations: 437.2 kB / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.8495, allocations: 290.1 kB / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.8499, allocations: 100.8 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.8499, allocations: 0 / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.85, allocations: 38.56 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 3.116e-06/0.85, allocations: 3.984 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.001267/0.8512, allocations: 309.3 kB / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.8513, allocations: 51.41 kB / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.871e-05/0.8514, allocations: 125.8 kB / 1.212 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.8514, allocations: 25.7 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.8515, allocations: 88.14 kB / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.8515, allocations: 11.81 kB / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.8516, allocations: 17.7 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.8517, allocations: 322.8 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/0.8521, allocations: 95.81 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.8525, allocations: 91.88 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/0.8532, allocations: 176.6 kB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8532, allocations: 0 / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008011/0.854, allocations: 221.4 kB / 1.213 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.8541, allocations: 5.719 kB / 1.213 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.8541, allocations: 0 / 1.213 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.8541, allocations: 0 / 1.213 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.8543, allocations: 31.95 kB / 1.213 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.8544, allocations: 3.984 kB / 1.213 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.8546, allocations: 27.95 kB / 1.213 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.8546, allocations: 4 kB / 1.213 GB, free: 7.82 MB / 0.9356 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 9.797e-05/0.8547, allocations: 117.8 kB / 1.213 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.8547, allocations: 7.906 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.338e-05/0.8548, allocations: 15.89 kB / 1.213 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.8548, allocations: 0 / 1.213 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8548, allocations: 4 kB / 1.213 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.8548, allocations: 0 / 1.213 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.8551, allocations: 213.5 kB / 1.213 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8551, allocations: 4 kB / 1.213 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.8553, allocations: 35.94 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.8553, allocations: 0 / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.8554, allocations: 0 / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.8554, allocations: 0 / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8554, allocations: 3.938 kB / 1.214 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008337/0.8562, allocations: 315.2 kB / 1.214 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.8562, allocations: 77.11 kB / 1.214 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.8563, allocations: 4 kB / 1.214 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.8565, allocations: 27.94 kB / 1.214 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.8566, allocations: 12 kB / 1.214 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.8566, allocations: 0 / 1.214 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.9e-05/0.8566, allocations: 95.58 kB / 1.214 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8566, allocations: 4 kB / 1.214 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002458/0.8569, allocations: 15.94 kB / 1.214 GB, free: 6.781 MB / 0.9356 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.0001036/0.857, allocations: 95.19 kB / 1.214 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008356/0.8578, allocations: 204 kB / 1.214 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8579, allocations: 0 / 1.214 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004055/0.8583, allocations: 99.88 kB / 1.214 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.8585, allocations: 4 kB / 1.214 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000974/0.8595, allocations: 269.4 kB / 1.215 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.8598, allocations: 0.6924 MB / 1.215 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.948e-05/0.8599, allocations: 19.98 kB / 1.215 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.335e-05/0.8599, allocations: 7.438 kB / 1.215 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.8599, allocations: 4 kB / 1.215 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.00304/0.863, allocations: 0.9567 MB / 1.216 GB, free: 4.387 MB / 0.9356 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches