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.001214/0.001215, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001179/0.001179, allocations: 187 kB / 17.34 MB, free: 5.762 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.432/1.432, 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 10.1.1-maint.10.0.x/package.mo): time 2.409/2.409, allocations: 437 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 60.05 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8134/0.8149, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002473/0.8174, allocations: 1.47 MB / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003706/0.8178, allocations: 130.9 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.8178, allocations: 8 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.227e-05/0.8179, allocations: 7.922 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.288e-05/0.8179, allocations: 3.938 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.8182, allocations: 39.89 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.026e-05/0.8183, allocations: 35.92 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.8184, allocations: 23.98 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.423e-05/0.8185, allocations: 19.92 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.663e-05/0.8185, allocations: 27.84 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.8185, allocations: 4 kB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.236e-05/0.8186, allocations: 27.97 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.8186, allocations: 11.94 kB / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.8187, allocations: 19.88 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.8188, allocations: 63.84 kB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8188, allocations: 0 / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8188, allocations: 4 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.8188, allocations: 0 / 1.169 GB, free: 1.977 MB / 0.8887 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.0004559/0.8193, allocations: 363.2 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.8193, allocations: 12.62 kB / 1.17 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.8204, allocations: 208.5 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.8205, allocations: 174.1 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.8206, allocations: 4.375 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.8206, allocations: 4.375 kB / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.8211, allocations: 190 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.8211, allocations: 192 / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.8212, allocations: 7.938 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.8212, allocations: 4 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008036/0.822, allocations: 275.6 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009075/0.8229, allocations: 449 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.8239, allocations: 286.2 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.8243, allocations: 104.8 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.8243, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.8243, allocations: 38.56 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.8243, allocations: 0 / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.001056/0.8254, allocations: 309.3 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.8254, allocations: 51.41 kB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.8255, allocations: 117.8 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.8256, allocations: 25.7 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.8256, allocations: 92.12 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.8256, allocations: 11.81 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.8257, allocations: 13.72 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.8258, allocations: 322.8 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.8261, allocations: 95.88 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.8265, allocations: 96.25 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005962/0.8271, allocations: 180.8 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8271, allocations: 0 / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006809/0.8278, allocations: 217.5 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.8278, allocations: 11.88 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.8278, allocations: 0 / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.8278, allocations: 4 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.8281, allocations: 31.95 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.8281, allocations: 0 / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.8283, allocations: 27.95 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.8283, allocations: 11.98 kB / 1.173 GB, free: 14.09 MB / 0.9044 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 8.667e-05/0.8284, allocations: 113.8 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.8284, allocations: 7.906 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.8285, allocations: 11.89 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8285, allocations: 4 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.8285, allocations: 0 / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.8285, allocations: 0 / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.8287, allocations: 213.5 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.8287, allocations: 3.938 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.8289, allocations: 31.95 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.829, allocations: 4 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.829, allocations: 3.984 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.829, allocations: 0 / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.829, allocations: 0 / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007264/0.8297, allocations: 315.2 kB / 1.173 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.8298, allocations: 77.11 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.8298, allocations: 0 / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.83, allocations: 31.95 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.8301, allocations: 3.984 kB / 1.174 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-06/0.8301, allocations: 8 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.912e-05/0.8301, allocations: 91.27 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8301, allocations: 3.938 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002327/0.8304, allocations: 12 kB / 1.174 GB, free: 13.07 MB / 0.9044 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.0001108/0.8305, allocations: 99.19 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007268/0.8312, allocations: 203.7 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.8312, allocations: 0 / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.8316, allocations: 95.88 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.8318, allocations: 14.72 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008656/0.8327, allocations: 304 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.833, allocations: 0.6807 MB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.833, allocations: 15.42 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.833, allocations: 0 / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of Templates: time 0.002425/0.8355, allocations: 1.167 MB / 1.176 GB, free: 10.45 MB / 0.9044 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