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.001321/0.001321, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.001384/0.001384, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.507/2.507, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.59 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3041, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002964/0.3071, allocations: 1.474 MB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004685/0.3076, allocations: 144.3 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.399e-05/0.3076, allocations: 0 / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.233e-05/0.3077, allocations: 3.938 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.608e-05/0.3078, allocations: 7.922 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.3081, allocations: 35.89 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.3082, allocations: 35.86 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.3083, allocations: 27.98 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.432e-05/0.3084, allocations: 15.94 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.3085, allocations: 15.92 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.3085, allocations: 4 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.3086, allocations: 39.95 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.3086, allocations: 15.92 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.3087, allocations: 19.94 kB / 1.029 GB, free: 216 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.3088, allocations: 63.78 kB / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3088, allocations: 0 / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.946e-06/0.3088, allocations: 0 / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3089, allocations: 0 / 1.029 GB, free: 152 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.0005466/0.3094, allocations: 363.4 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3095, allocations: 8.031 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.3105, allocations: 212.5 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.3106, allocations: 168.3 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3107, allocations: 4.375 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.3107, allocations: 4.375 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005082/0.3112, allocations: 201.9 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3112, allocations: 192 / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.3112, allocations: 7.938 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.3113, allocations: 7.984 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007221/0.312, allocations: 279.6 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000884/0.3129, allocations: 429.2 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009793/0.3139, allocations: 290.1 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.3142, allocations: 104.8 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.3142, allocations: 0 / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.3143, allocations: 38.55 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.3143, allocations: 3.938 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.001006/0.3153, allocations: 313.2 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.3153, allocations: 51.41 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.782e-05/0.3154, allocations: 121.8 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.3155, allocations: 25.7 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.3155, allocations: 88.14 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.3155, allocations: 19.83 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.3156, allocations: 13.72 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3157, allocations: 326.8 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.316, allocations: 87.88 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.3163, allocations: 99.88 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005537/0.3169, allocations: 164.6 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3169, allocations: 0 / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006288/0.3175, allocations: 225.3 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3176, allocations: 4 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3176, allocations: 0 / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3176, allocations: 0 / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.3178, allocations: 35.94 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3178, allocations: 4 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.318, allocations: 27.95 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.318, allocations: 0 / 1.032 GB, free: 12.27 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.699e-05/0.3181, allocations: 125.7 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.3182, allocations: 7.906 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.397e-05/0.3182, allocations: 11.91 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3182, allocations: 4 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3182, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3182, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.3185, allocations: 209.5 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3185, allocations: 0 / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.3187, allocations: 35.94 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3187, allocations: 0 / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3187, allocations: 0 / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.3187, allocations: 3.938 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3187, allocations: 3.938 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006693/0.3194, allocations: 315.6 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.3194, allocations: 85.05 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.3195, allocations: 8 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.3197, allocations: 27.95 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.3197, allocations: 8 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.3197, allocations: 4.359 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.828e-05/0.3198, allocations: 95.2 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3198, allocations: 4 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002284/0.32, allocations: 12 kB / 1.033 GB, free: 11.23 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.000128/0.3202, allocations: 99.19 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006643/0.3208, allocations: 199.7 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3208, allocations: 0 / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.3212, allocations: 103.9 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.3214, allocations: 8 kB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007984/0.3222, allocations: 245.4 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.3225, allocations: 0.6924 MB / 1.034 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.036e-05/0.3225, allocations: 16.23 kB / 1.034 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.3226, allocations: 15.42 kB / 1.034 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3226, allocations: 0 / 1.034 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of Templates: time 0.0029/0.3255, allocations: 0.9286 MB / 1.035 GB, free: 8.875 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 gbode -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