Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.00156/0.00156, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 200 kB / 16.79 MB, free: 6.828 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.415/1.415, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.525/2.525, allocations: 390.2 MB / 0.6649 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 71.89 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6237/0.6251, allocations: 140.3 MB / 0.9496 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002292/0.6274, allocations: 1.52 MB / 0.9511 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003567/0.6278, allocations: 143.9 kB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.921e-05/0.6278, allocations: 0 / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.499e-05/0.6279, allocations: 5.562 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.181e-05/0.628, allocations: 7.922 kB / 0.9512 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.6282, allocations: 22.91 kB / 0.9512 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.163e-05/0.6283, allocations: 33.14 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.6284, allocations: 26.64 kB / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.034e-05/0.6284, allocations: 16.69 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.904e-05/0.6285, allocations: 24.97 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.6285, allocations: 2.5 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.161e-05/0.6286, allocations: 28.83 kB / 0.9514 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.6286, allocations: 13.16 kB / 0.9514 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.6286, allocations: 16.59 kB / 0.9514 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.673e-05/0.6287, allocations: 44.22 kB / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.6287, allocations: 0 / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6288, allocations: 0 / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.6288, allocations: 0 / 0.9514 GB, free: 7.777 MB / 0.7169 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.0003902/0.6292, allocations: 369.2 kB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.6292, allocations: 10.88 kB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.6303, allocations: 213 kB / 0.952 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.349e-05/0.6304, allocations: 175 kB / 0.9522 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.6304, allocations: 1.938 kB / 0.9522 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.6304, allocations: 3.719 kB / 0.9522 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005289/0.6309, allocations: 198.8 kB / 0.9524 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.631, allocations: 192 / 0.9524 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.631, allocations: 3.938 kB / 0.9524 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.631, allocations: 1.375 kB / 0.9524 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007994/0.6318, allocations: 279.5 kB / 0.9526 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008178/0.6326, allocations: 449.1 kB / 0.9531 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.6337, allocations: 288.8 kB / 0.9533 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.634, allocations: 100.2 kB / 0.9534 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.6341, allocations: 9.188 kB / 0.9534 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.6341, allocations: 39.72 kB / 0.9535 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.6341, allocations: 0 / 0.9535 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.001058/0.6352, allocations: 305.9 kB / 0.9538 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.6352, allocations: 52.56 kB / 0.9538 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.802e-05/0.6353, allocations: 112.6 kB / 0.9539 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.6353, allocations: 30.89 kB / 0.954 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.6353, allocations: 94.31 kB / 0.954 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.6353, allocations: 5.469 kB / 0.9541 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.6354, allocations: 26.91 kB / 0.9541 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.133e-05/0.6354, allocations: 320.2 kB / 0.9544 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.6358, allocations: 94.34 kB / 0.9545 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.6361, allocations: 99.41 kB / 0.9546 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005967/0.6367, allocations: 176.4 kB / 0.9547 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6367, allocations: 0 / 0.9547 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006874/0.6374, allocations: 211.5 kB / 0.9549 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.6374, allocations: 12.2 kB / 0.9549 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.6374, allocations: 0 / 0.9549 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.6375, allocations: 0 / 0.9549 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.6377, allocations: 34.73 kB / 0.955 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.6377, allocations: 1.031 kB / 0.955 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.6379, allocations: 35.2 kB / 0.955 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.6379, allocations: 5.391 kB / 0.955 GB, free: 4.969 MB / 0.7169 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 6.515e-05/0.638, allocations: 121.7 kB / 0.9551 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.638, allocations: 1.375 kB / 0.9551 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.6381, allocations: 10.64 kB / 0.9551 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6381, allocations: 1.344 kB / 0.9551 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.6381, allocations: 0 / 0.9551 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.6381, allocations: 5.031 kB / 0.9552 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.6383, allocations: 216.3 kB / 0.9554 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6383, allocations: 0 / 0.9554 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.6385, allocations: 30.8 kB / 0.9554 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.6385, allocations: 1.031 kB / 0.9554 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.6385, allocations: 9.047 kB / 0.9554 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6386, allocations: 0 / 0.9554 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6386, allocations: 0 / 0.9554 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006996/0.6393, allocations: 317.3 kB / 0.9557 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.6393, allocations: 86.2 kB / 0.9558 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.6393, allocations: 1.219 kB / 0.9558 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.6395, allocations: 30.62 kB / 0.9558 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.6396, allocations: 13 kB / 0.9558 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.6396, allocations: 1.375 kB / 0.9558 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.849e-05/0.6397, allocations: 93.77 kB / 0.9559 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6397, allocations: 0 / 0.9559 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002403/0.6399, allocations: 15.97 kB / 0.9559 GB, free: 4.121 MB / 0.7169 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 9.542e-05/0.64, allocations: 98.66 kB / 0.956 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006667/0.6407, allocations: 200.1 kB / 0.9562 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6407, allocations: 0 / 0.9562 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.641, allocations: 105.8 kB / 0.9563 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.6413, allocations: 6.125 kB / 0.9563 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008668/0.6422, allocations: 294.9 kB / 0.9566 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.6423, allocations: 0.684 MB / 0.9573 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.285e-05/0.6424, allocations: 13.89 kB / 0.9573 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/0.6424, allocations: 3.938 kB / 0.9573 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of Templates: time 0.002267/0.6446, allocations: 1.157 MB / 0.9584 GB, free: 2.344 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches