Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001259/0.001259, allocations: 102 kB / 15.98 MB, free: 6.352 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.001288/0.001288, allocations: 196.9 kB / 16.91 MB, free: 6.188 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.412/1.412, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.698/2.698, allocations: 469.8 MB / 0.7427 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 72.02 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.346, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003307/0.3494, allocations: 1.526 MB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004109/0.3498, allocations: 143.6 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.3499, allocations: 3.938 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.767e-05/0.3499, allocations: 0 / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.517e-05/0.35, allocations: 3.938 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.3502, allocations: 27.98 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.414e-05/0.3503, allocations: 43.84 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.3505, allocations: 23.98 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.438e-05/0.3505, allocations: 19.92 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.3506, allocations: 23.86 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.3506, allocations: 4 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.558e-05/0.3507, allocations: 35.97 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.3507, allocations: 7.938 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.3508, allocations: 19.92 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.3509, allocations: 43.94 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.3509, allocations: 3.984 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3509, allocations: 0 / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.3509, allocations: 0 / 1.066 GB, free: 13.16 MB / 0.8419 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.0005106/0.3514, allocations: 355.7 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3515, allocations: 8.031 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.3526, allocations: 220.4 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.3528, allocations: 168.3 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.3528, allocations: 8.375 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.3529, allocations: 384 / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005875/0.3534, allocations: 198 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3535, allocations: 192 / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.3535, allocations: 3.938 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3535, allocations: 7.922 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008642/0.3544, allocations: 279.6 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009528/0.3553, allocations: 429.4 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.3565, allocations: 294.2 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003617/0.3569, allocations: 100.7 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.3569, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.3569, allocations: 30.56 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.357, allocations: 0 / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.001199/0.3582, allocations: 313.2 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.3582, allocations: 59.39 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.3583, allocations: 121.7 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.3584, allocations: 29.7 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.3585, allocations: 92.14 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.3585, allocations: 15.83 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.3586, allocations: 13.72 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3587, allocations: 318.8 kB / 1.069 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.3591, allocations: 95.86 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.3595, allocations: 99.88 kB / 1.069 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006978/0.3602, allocations: 168.6 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3602, allocations: 0 / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007591/0.3609, allocations: 213.4 kB / 1.069 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.361, allocations: 8 kB / 1.069 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.361, allocations: 0 / 1.069 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.361, allocations: 3.938 kB / 1.069 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.3613, allocations: 39.88 kB / 1.07 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3613, allocations: 4 kB / 1.07 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.3615, allocations: 27.95 kB / 1.07 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.3615, allocations: 4 kB / 1.07 GB, free: 9.281 MB / 0.8419 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.0001173/0.3616, allocations: 119.1 kB / 1.07 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.3617, allocations: 3.906 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.3617, allocations: 15.91 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3617, allocations: 0 / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.3617, allocations: 0 / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3618, allocations: 0 / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.362, allocations: 209.5 kB / 1.07 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.362, allocations: 0 / 1.07 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.3623, allocations: 35.94 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3623, allocations: 0 / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.3623, allocations: 0 / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3623, allocations: 4 kB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3623, allocations: 8 kB / 1.07 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008053/0.3631, allocations: 307.2 kB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.3632, allocations: 93 kB / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.3632, allocations: 0 / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.3635, allocations: 31.95 kB / 1.07 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.3635, allocations: 0 / 1.07 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.3635, allocations: 3.984 kB / 1.07 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.667e-05/0.3636, allocations: 95.59 kB / 1.07 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3636, allocations: 0 / 1.07 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002563/0.3639, allocations: 12 kB / 1.07 GB, free: 8.266 MB / 0.8419 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.0001417/0.364, allocations: 111.2 kB / 1.071 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007821/0.3648, allocations: 196.1 kB / 1.071 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3648, allocations: 0 / 1.071 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003627/0.3652, allocations: 103.9 kB / 1.071 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.3655, allocations: 5.688 kB / 1.071 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009718/0.3664, allocations: 299 kB / 1.071 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.3668, allocations: 0.6847 MB / 1.072 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.225e-05/0.3669, allocations: 15.38 kB / 1.072 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3669, allocations: 0 / 1.072 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of Templates: time 0.002811/0.3697, allocations: 1.18 MB / 1.073 GB, free: 5.625 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches