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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.318/2.318, allocations: 390.3 MB / 402.8 MB, free: 6.715 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 176.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 221.3 MB / 0.7915 GB, free: 5.484 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008355/0.0008356, allocations: 87.95 kB / 0.9317 GB, free: 5.801 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.231e-05/3.242e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2695, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9121/1.182, allocations: 150.2 MB / 1.365 GB, free: 3.859 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/1.182, allocations: 74.62 kB / 1.365 GB, free: 3.816 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003365/1.185, allocations: 1.145 MB / 1.367 GB, free: 2.781 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.254e-06/1.185, allocations: 4 kB / 1.367 GB, free: 2.777 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.592e-06/1.185, allocations: 0 / 1.367 GB, free: 2.777 MB / 0.823 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.0003631/1.186, allocations: 348.1 kB / 1.367 GB, free: 2.398 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/1.186, allocations: 8.031 kB / 1.367 GB, free: 2.391 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008196/1.187, allocations: 192.2 kB / 1.367 GB, free: 2.203 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/1.187, allocations: 177.9 kB / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/1.187, allocations: 4 kB / 1.367 GB, free: 1.988 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/1.187, allocations: 0 / 1.367 GB, free: 1.988 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/1.187, allocations: 110.7 kB / 1.367 GB, free: 1.895 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/1.187, allocations: 0 / 1.367 GB, free: 1.895 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/1.187, allocations: 10.94 kB / 1.367 GB, free: 1.891 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/1.187, allocations: 0 / 1.367 GB, free: 1.891 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/1.187, allocations: 115.9 kB / 1.368 GB, free: 1.809 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009014/1.188, allocations: 465 kB / 1.368 GB, free: 1.34 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/1.189, allocations: 159.5 kB / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.038e-05/1.189, allocations: 46.36 kB / 1.368 GB, free: 1.172 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/1.189, allocations: 7.984 kB / 1.368 GB, free: 1.164 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/1.189, allocations: 34.52 kB / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 2.264e-06/1.189, allocations: 3.984 kB / 1.368 GB, free: 1.117 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0002546/1.189, allocations: 110 kB / 1.368 GB, free: 1.023 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/1.189, allocations: 55.41 kB / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.33e-05/1.189, allocations: 110 kB / 1.368 GB, free: 0.8477 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/1.189, allocations: 30.08 kB / 1.369 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/1.189, allocations: 90.77 kB / 1.369 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/1.189, allocations: 3.906 kB / 1.369 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/1.189, allocations: 0 / 1.369 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.189, allocations: 326 kB / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.72e-05/1.189, allocations: 41.41 kB / 1.369 GB, free: 380 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.375e-05/1.19, allocations: 43.84 kB / 1.369 GB, free: 348 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.588e-05/1.19, allocations: 25.61 kB / 1.369 GB, free: 332 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.19, allocations: 4 kB / 1.369 GB, free: 328 kB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001778/1.19, allocations: 116.8 kB / 1.369 GB, free: 224 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.19, allocations: 9.25 kB / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.19, allocations: 3.953 kB / 1.369 GB, free: 212 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.19, allocations: 0 / 1.369 GB, free: 212 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/1.19, allocations: 42.95 kB / 1.369 GB, free: 172 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/1.19, allocations: 0 / 1.369 GB, free: 172 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/1.19, allocations: 39.89 kB / 1.369 GB, free: 132 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/1.19, allocations: 11.92 kB / 1.369 GB, free: 120 kB / 0.823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.553e-05/1.19, allocations: 104 kB / 1.369 GB, free: 12 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/1.19, allocations: 7.906 kB / 1.369 GB, free: 4 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.332e-05/1.191, allocations: 8.031 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/1.191, allocations: 3.953 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.191, allocations: 4 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/1.191, allocations: 0 / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/1.191, allocations: 206.8 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.191, allocations: 4 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/1.191, allocations: 43.94 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/1.191, allocations: 0 / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/1.191, allocations: 4 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/1.191, allocations: 7.891 kB / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.191, allocations: 0 / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/1.191, allocations: 205.4 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/1.191, allocations: 81.02 kB / 1.37 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/1.191, allocations: 0 / 1.37 GB, free: 15.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/1.192, allocations: 39.95 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/1.192, allocations: 7.328 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/1.192, allocations: 8.859 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.808e-05/1.192, allocations: 90.47 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.192, allocations: 4 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002012/1.192, allocations: 12 kB / 1.37 GB, free: 15.25 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001249/1.192, allocations: 98.38 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001922/1.192, allocations: 97.05 kB / 1.37 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/1.192, allocations: 0 / 1.37 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.141e-05/1.192, allocations: 48.97 kB / 1.37 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/1.192, allocations: 0 / 1.37 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005891/1.193, allocations: 185.5 kB / 1.37 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/1.193, allocations: 0.6926 MB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.43e-05/1.193, allocations: 19.98 kB / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/1.193, allocations: 11.44 kB / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of SimCode: time 2.9e-07/1.193, allocations: 0 / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of Templates: time 0.002865/1.196, allocations: 0.8159 MB / 1.372 GB, free: 13.31 MB / 0.8386 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","../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches