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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001584/0.001584, allocations: 110.3 kB / 15.99 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.001583/0.001583, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.339/1.339, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.493/2.493, allocations: 437 MB / 0.7107 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.55 kB / 0.8694 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3073, allocations: 151.6 MB / 1.017 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002973/0.3103, allocations: 1.525 MB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004172/0.3107, allocations: 138 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.3108, allocations: 4 kB / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.57e-05/0.3108, allocations: 0 / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.325e-05/0.3109, allocations: 3.938 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.3112, allocations: 31.98 kB / 1.019 GB, free: 9.297 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.3113, allocations: 43.84 kB / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.3115, allocations: 19.98 kB / 1.019 GB, free: 9.234 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/0.3115, allocations: 23.92 kB / 1.019 GB, free: 9.211 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.091e-05/0.3116, allocations: 19.92 kB / 1.019 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3116, allocations: 4 kB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.3117, allocations: 31.97 kB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.3117, allocations: 4 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.3118, allocations: 23.86 kB / 1.019 GB, free: 9.129 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.312, allocations: 47.92 kB / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.312, allocations: 0 / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.114e-06/0.312, allocations: 0 / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.312, allocations: 7.938 kB / 1.019 GB, free: 9.074 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.0004734/0.3125, allocations: 363.5 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3125, allocations: 8.922 kB / 1.02 GB, free: 8.66 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.3137, allocations: 212.5 kB / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.3138, allocations: 168.3 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.3138, allocations: 8.375 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.3139, allocations: 12.31 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005671/0.3144, allocations: 186 kB / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3145, allocations: 192 / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.3145, allocations: 11.92 kB / 1.02 GB, free: 8.031 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3145, allocations: 0 / 1.02 GB, free: 8.031 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008365/0.3153, allocations: 283.5 kB / 1.021 GB, free: 7.754 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009471/0.3163, allocations: 445.2 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.3175, allocations: 282.2 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.3178, allocations: 100.8 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.3178, allocations: 4 kB / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.3179, allocations: 34.5 kB / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.914e-06/0.3179, allocations: 0 / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.001119/0.319, allocations: 309.2 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.3191, allocations: 55.39 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.177e-05/0.3192, allocations: 121.8 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.3192, allocations: 25.7 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.3192, allocations: 88.14 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.3193, allocations: 11.83 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.3193, allocations: 17.72 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3195, allocations: 318.8 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.3198, allocations: 103.8 kB / 1.022 GB, free: 5.75 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.3202, allocations: 91.88 kB / 1.022 GB, free: 5.66 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006139/0.3208, allocations: 176.9 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3208, allocations: 0 / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006878/0.3215, allocations: 217.4 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3215, allocations: 4 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3215, allocations: 4.375 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.3215, allocations: 0 / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.3218, allocations: 35.94 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3218, allocations: 0 / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.322, allocations: 31.89 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.322, allocations: 7.875 kB / 1.023 GB, free: 5.184 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 0.000104/0.3221, allocations: 124.2 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.3222, allocations: 11.91 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.3222, allocations: 11.91 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3222, allocations: 0 / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3222, allocations: 0 / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3223, allocations: 0 / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.3225, allocations: 205.5 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3225, allocations: 0 / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.3228, allocations: 39.94 kB / 1.023 GB, free: 4.738 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3228, allocations: 4 kB / 1.023 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3228, allocations: 0 / 1.023 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3228, allocations: 0 / 1.023 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3228, allocations: 0 / 1.023 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007464/0.3236, allocations: 315.2 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.3236, allocations: 84.95 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.3236, allocations: 8 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.3239, allocations: 23.95 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.3239, allocations: 4 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3239, allocations: 3.984 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.426e-05/0.324, allocations: 95.28 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.324, allocations: 4 kB / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002521/0.3243, allocations: 15.98 kB / 1.024 GB, free: 4.156 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.0001209/0.3244, allocations: 99.19 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007228/0.3251, allocations: 195.8 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3251, allocations: 0 / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.3255, allocations: 103.8 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.3257, allocations: 4 kB / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009007/0.3266, allocations: 291.1 kB / 1.024 GB, free: 3.434 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.3269, allocations: 0.6924 MB / 1.025 GB, free: 2.715 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.033e-05/0.327, allocations: 11.72 kB / 1.025 GB, free: 2.703 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.327, allocations: 0 / 1.025 GB, free: 2.703 MB / 0.795 GB Notification: Performance of Templates: time 0.002477/0.3295, allocations: 1.175 MB / 1.026 GB, free: 1.535 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 -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