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.001119/0.001119, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001209/0.001209, allocations: 192.2 kB / 16.25 MB, free: 6.633 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.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.589/2.589, allocations: 437 MB / 0.71 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 67.89 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6433/0.6448, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002594/0.6475, allocations: 1.525 MB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003767/0.6479, allocations: 140.4 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.6479, allocations: 8 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.449e-05/0.648, allocations: 0 / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.772e-05/0.648, allocations: 7.922 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.6483, allocations: 23.98 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.6484, allocations: 47.84 kB / 1.018 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.6485, allocations: 16 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.6486, allocations: 23.91 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.6486, allocations: 19.92 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.6487, allocations: 4 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-05/0.6488, allocations: 31.97 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.6488, allocations: 4 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.6488, allocations: 23.86 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.649, allocations: 59.86 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.649, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.553e-06/0.649, allocations: 7.938 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.649, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.7637 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.0004627/0.6495, allocations: 373.2 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.6495, allocations: 8.031 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.6506, allocations: 204.6 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.6508, allocations: 176.3 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.6508, allocations: 384 / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.6508, allocations: 4.375 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.6514, allocations: 190 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.6514, allocations: 192 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.6514, allocations: 7.938 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.6514, allocations: 4 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008276/0.6523, allocations: 283.5 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009797/0.6532, allocations: 445.1 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.6543, allocations: 286.2 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.6547, allocations: 96.8 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.6547, allocations: 3.938 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.6547, allocations: 46.56 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 4.849e-06/0.6548, allocations: 3.984 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.001177/0.6559, allocations: 309.2 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.656, allocations: 51.41 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.52e-05/0.6561, allocations: 121.8 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.6561, allocations: 25.7 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.6562, allocations: 96.12 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.6562, allocations: 3.906 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.6563, allocations: 17.7 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6564, allocations: 326.8 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.6567, allocations: 91.81 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.6571, allocations: 95.88 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006454/0.6577, allocations: 176.6 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.6577, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007366/0.6585, allocations: 217.4 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.6585, allocations: 7.938 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.6585, allocations: 0 / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.6585, allocations: 0 / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.6588, allocations: 31.95 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.6588, allocations: 3.938 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.659, allocations: 35.94 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.659, allocations: 4 kB / 1.022 GB, free: 12.86 MB / 0.7794 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.0001124/0.6592, allocations: 114.3 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.6592, allocations: 4 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.6593, allocations: 15.89 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6593, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.6593, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6593, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.6595, allocations: 217.4 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6595, allocations: 4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.6598, allocations: 31.95 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.6598, allocations: 3.984 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.6598, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.6598, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6598, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008066/0.6606, allocations: 315.2 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.6607, allocations: 81.02 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.6607, allocations: 8 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.6609, allocations: 27.94 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.661, allocations: 8 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.661, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.952e-05/0.6611, allocations: 95.58 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6611, allocations: 4 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002353/0.6613, allocations: 12 kB / 1.023 GB, free: 11.84 MB / 0.7794 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.0001509/0.6615, allocations: 103.2 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007664/0.6623, allocations: 196.1 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6623, allocations: 4 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.6626, allocations: 95.81 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.6629, allocations: 15.94 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008729/0.6638, allocations: 265.6 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.6641, allocations: 0.6924 MB / 1.024 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.272e-05/0.6641, allocations: 15.98 kB / 1.024 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.6642, allocations: 11.44 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6642, allocations: 4 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of Templates: time 0.003142/0.6674, allocations: 0.8717 MB / 1.025 GB, free: 9.523 MB / 0.7794 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches