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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001223/0.001223, allocations: 107.6 kB / 16.36 MB, free: 6.285 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.001203/0.001203, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.215/1.215, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.245/2.245, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 64.12 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2917, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002427/0.2942, allocations: 1.486 MB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003376/0.2945, allocations: 132.4 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.2946, allocations: 4 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.835e-05/0.2946, allocations: 3.938 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.639e-05/0.2947, allocations: 3.938 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.2949, allocations: 31.84 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.527e-05/0.295, allocations: 47.83 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.2951, allocations: 24 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.637e-05/0.2952, allocations: 19.92 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.636e-05/0.2952, allocations: 15.92 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.2953, allocations: 4 kB / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.589e-05/0.2953, allocations: 35.97 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.2954, allocations: 11.92 kB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.2954, allocations: 23.92 kB / 1.029 GB, free: 232 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.2956, allocations: 55.81 kB / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2956, allocations: 4 kB / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2956, allocations: 0 / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2956, allocations: 0 / 1.029 GB, free: 172 kB / 0.795 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.0005302/0.2961, allocations: 360.6 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.2962, allocations: 12.03 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009881/0.2972, allocations: 216.5 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.2973, allocations: 176.2 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.2973, allocations: 384 / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.2973, allocations: 4.375 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.2978, allocations: 194 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.2978, allocations: 192 / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.2979, allocations: 3.938 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2979, allocations: 4 kB / 1.029 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007368/0.2986, allocations: 283.6 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008461/0.2995, allocations: 433.2 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009449/0.3004, allocations: 286.2 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.3007, allocations: 100.8 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.3008, allocations: 4 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.3008, allocations: 34.56 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.695e-06/0.3008, allocations: 0 / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000976/0.3018, allocations: 317.1 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.3018, allocations: 51.41 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.966e-05/0.3019, allocations: 122.1 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.3019, allocations: 25.7 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.302, allocations: 88.14 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.302, allocations: 12 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.832e-05/0.3021, allocations: 29.64 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3022, allocations: 318.8 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.3025, allocations: 91.88 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.3028, allocations: 91.88 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005518/0.3034, allocations: 184.8 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3034, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006124/0.304, allocations: 221.4 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.304, allocations: 4 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.304, allocations: 0 / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.304, allocations: 0 / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.3043, allocations: 35.94 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3043, allocations: 0 / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.3045, allocations: 31.95 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.3045, allocations: 0 / 1.032 GB, free: 12.28 MB / 0.8106 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.73e-05/0.3046, allocations: 125.7 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.3046, allocations: 7.906 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.3047, allocations: 3.906 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3047, allocations: 4 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3047, allocations: 0 / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3047, allocations: 4 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.3049, allocations: 209.5 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3049, allocations: 3.938 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.3051, allocations: 35.94 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.3051, allocations: 4 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.3051, allocations: 4 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3052, allocations: 0 / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3052, allocations: 0 / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006784/0.3058, allocations: 315.2 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.3059, allocations: 81.02 kB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3059, allocations: 7.984 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.3061, allocations: 27.95 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.3062, allocations: 4 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.3062, allocations: 0 / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.462e-05/0.3063, allocations: 99.2 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3063, allocations: 3.938 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002214/0.3065, allocations: 12 kB / 1.033 GB, free: 11.25 MB / 0.8106 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.0001198/0.3066, allocations: 99.19 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006616/0.3073, allocations: 199.7 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3073, allocations: 0 / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.3076, allocations: 103.9 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.3079, allocations: 3.984 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008482/0.3087, allocations: 253.4 kB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.309, allocations: 0.6924 MB / 1.034 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.982e-05/0.3091, allocations: 20.23 kB / 1.034 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.3091, allocations: 7.438 kB / 1.034 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.3092, allocations: 4 kB / 1.034 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of Templates: time 0.003437/0.3126, allocations: 0.9287 MB / 1.035 GB, free: 8.895 MB / 0.8106 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches