Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001425/0.001425, allocations: 102.9 kB / 16.35 MB, free: 5.875 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.001582/0.001582, allocations: 196.1 kB / 17.3 MB, free: 5.516 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.435/2.435, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 60.53 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2818, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002642/0.2844, allocations: 1.464 MB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004012/0.2849, allocations: 136.4 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.864e-05/0.2849, allocations: 0 / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.295e-05/0.285, allocations: 3.938 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.818e-05/0.2851, allocations: 3.938 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.2853, allocations: 39.89 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.2855, allocations: 43.84 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.2856, allocations: 23.98 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.448e-05/0.2857, allocations: 11.94 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.526e-05/0.2858, allocations: 27.91 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.2858, allocations: 4 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.2859, allocations: 27.97 kB / 1.021 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.2859, allocations: 7.984 kB / 1.021 GB, free: 8.062 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.602e-05/0.286, allocations: 23.88 kB / 1.021 GB, free: 8.039 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.2862, allocations: 67.78 kB / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2862, allocations: 4 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.046e-06/0.2862, allocations: 3.938 kB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.2862, allocations: 0 / 1.021 GB, free: 7.965 MB / 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.0005176/0.2867, allocations: 363.3 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.2868, allocations: 8.922 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.2878, allocations: 220.4 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.288, allocations: 164.3 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.288, allocations: 8.375 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.288, allocations: 384 / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.2886, allocations: 194 kB / 1.022 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2886, allocations: 4.188 kB / 1.022 GB, free: 6.93 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.2886, allocations: 7.922 kB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.2886, allocations: 0 / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007805/0.2894, allocations: 275.6 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000886/0.2903, allocations: 445.1 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009728/0.2913, allocations: 286.3 kB / 1.023 GB, free: 5.879 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.2916, allocations: 100.7 kB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.2917, allocations: 0 / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.2917, allocations: 38.5 kB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 3.226e-06/0.2917, allocations: 3.984 kB / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.001073/0.2928, allocations: 309.2 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.2928, allocations: 59.39 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.689e-05/0.2929, allocations: 113.8 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.293, allocations: 29.64 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.293, allocations: 88.14 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.293, allocations: 15.83 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.2931, allocations: 17.72 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.554e-05/0.2932, allocations: 322.8 kB / 1.024 GB, free: 4.738 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.2935, allocations: 95.86 kB / 1.024 GB, free: 4.645 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.2939, allocations: 99.81 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005986/0.2945, allocations: 164.6 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2945, allocations: 4 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006692/0.2951, allocations: 217.4 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2952, allocations: 8.375 kB / 1.024 GB, free: 4.152 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2952, allocations: 0 / 1.024 GB, free: 4.152 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2952, allocations: 0 / 1.024 GB, free: 4.152 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.2955, allocations: 31.94 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2955, allocations: 7.938 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.2956, allocations: 23.95 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.2957, allocations: 8 kB / 1.024 GB, free: 4.082 MB / 0.795 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.522e-05/0.2958, allocations: 125.7 kB / 1.024 GB, free: 3.949 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.2958, allocations: 3.906 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.2959, allocations: 11.91 kB / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2959, allocations: 0 / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2959, allocations: 4 kB / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2959, allocations: 0 / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.2961, allocations: 209.5 kB / 1.025 GB, free: 3.672 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2961, allocations: 4 kB / 1.025 GB, free: 3.668 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.2963, allocations: 35.94 kB / 1.025 GB, free: 3.633 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2963, allocations: 0 / 1.025 GB, free: 3.633 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.2964, allocations: 0 / 1.025 GB, free: 3.633 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2964, allocations: 0 / 1.025 GB, free: 3.633 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2964, allocations: 3.984 kB / 1.025 GB, free: 3.629 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007076/0.2971, allocations: 315.2 kB / 1.025 GB, free: 3.305 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.2971, allocations: 85.02 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.2972, allocations: 0 / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.2974, allocations: 31.95 kB / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.2974, allocations: 11.88 kB / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.2975, allocations: 3.984 kB / 1.025 GB, free: 3.156 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.547e-05/0.2975, allocations: 91.28 kB / 1.025 GB, free: 3.066 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2975, allocations: 0 / 1.025 GB, free: 3.066 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002387/0.2978, allocations: 15.98 kB / 1.025 GB, free: 3.051 MB / 0.795 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.0001318/0.2979, allocations: 99.19 kB / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000696/0.2986, allocations: 200.1 kB / 1.025 GB, free: 2.746 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2986, allocations: 0 / 1.025 GB, free: 2.746 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.2989, allocations: 99.8 kB / 1.025 GB, free: 2.648 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.2992, allocations: 12 kB / 1.025 GB, free: 2.637 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009047/0.3001, allocations: 251.1 kB / 1.026 GB, free: 2.367 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.3004, allocations: 0.6887 MB / 1.026 GB, free: 1.652 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.631e-05/0.3005, allocations: 19.98 kB / 1.026 GB, free: 1.633 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.3005, allocations: 11.44 kB / 1.026 GB, free: 1.621 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3005, allocations: 3.938 kB / 1.026 GB, free: 1.617 MB / 0.795 GB Notification: Performance of Templates: time 0.002932/0.3035, allocations: 0.9292 MB / 1.027 GB, free: 0.6953 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches