Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.863/2.863, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.285e-05/3.468e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003268/0.003303, allocations: 1.49 MB / 0.8123 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004391/0.003742, allocations: 143.5 kB / 0.8124 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.182e-05/0.003774, allocations: 1.062 kB / 0.8124 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 6.434e-05/0.003838, allocations: 7.922 kB / 0.8124 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.271e-05/0.003901, allocations: 0 / 0.8124 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.004144, allocations: 32.86 kB / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.00425, allocations: 43.86 kB / 0.8125 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.004357, allocations: 13.39 kB / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.513e-05/0.004423, allocations: 27.91 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.602e-05/0.004469, allocations: 15.98 kB / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.004488, allocations: 4.969 kB / 0.8125 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.004589, allocations: 35.91 kB / 0.8126 GB, free: 332 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.004613, allocations: 11.94 kB / 0.8126 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.004647, allocations: 17.09 kB / 0.8126 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.004846, allocations: 71.72 kB / 0.8127 GB, free: 232 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.004849, allocations: 0 / 0.8127 GB, free: 232 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.72e-07/0.004849, allocations: 0.6562 kB / 0.8127 GB, free: 232 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.004854, allocations: 0 / 0.8127 GB, free: 232 kB / 0.7605 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.0005423/0.005396, allocations: 283.5 kB / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.005437, allocations: 12.02 kB / 0.813 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.00671, allocations: 215 kB / 0.8132 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.006848, allocations: 119.2 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.006862, allocations: 384 / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.006883, allocations: 4.375 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006337/0.007517, allocations: 195.4 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.007525, allocations: 192 / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.007541, allocations: 5.844 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.007545, allocations: 384 / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000977/0.008522, allocations: 285.1 kB / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.009539, allocations: 362.6 kB / 0.8141 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.0108, allocations: 286 kB / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003964/0.01119, allocations: 102.2 kB / 0.8145 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.01122, allocations: 4.719 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.01126, allocations: 34.56 kB / 0.8145 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.01127, allocations: 1.156 kB / 0.8145 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.001318/0.01258, allocations: 308.4 kB / 0.8148 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.01264, allocations: 51.41 kB / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.01275, allocations: 111.5 kB / 0.8149 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.01278, allocations: 25.7 kB / 0.815 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.01285, allocations: 104 kB / 0.8151 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.01288, allocations: 11.89 kB / 0.8151 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.01294, allocations: 14.81 kB / 0.8151 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.01312, allocations: 314.8 kB / 0.8154 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.01353, allocations: 99.12 kB / 0.8155 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/0.01393, allocations: 95.86 kB / 0.8156 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007406/0.01467, allocations: 171.1 kB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01467, allocations: 0 / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000844/0.01551, allocations: 225.5 kB / 0.816 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.01553, allocations: 4 kB / 0.816 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01553, allocations: 0 / 0.816 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.01555, allocations: 0 / 0.816 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.01583, allocations: 39.88 kB / 0.816 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.01584, allocations: 3.031 kB / 0.816 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.01605, allocations: 27.95 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.01606, allocations: 0 / 0.816 GB, free: 12.64 MB / 0.7761 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.0001204/0.01618, allocations: 117.8 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.01623, allocations: 7.938 kB / 0.8161 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.01628, allocations: 12.88 kB / 0.8162 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.01628, allocations: 0 / 0.8162 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.01628, allocations: 1.125 kB / 0.8162 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.01628, allocations: 0 / 0.8162 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.01653, allocations: 145.3 kB / 0.8163 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.01653, allocations: 5.109 kB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.01678, allocations: 27.95 kB / 0.8163 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.01679, allocations: 9 kB / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.0168, allocations: 0 / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.0168, allocations: 0 / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01681, allocations: 1.219 kB / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000948/0.01775, allocations: 320.8 kB / 0.8166 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.336e-05/0.01777, allocations: 4.5 kB / 0.8167 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.01779, allocations: 4.969 kB / 0.8167 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.01804, allocations: 25.02 kB / 0.8167 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.01808, allocations: 7.984 kB / 0.8167 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.01809, allocations: 0 / 0.8167 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.879e-05/0.01816, allocations: 88.59 kB / 0.8168 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01816, allocations: 0 / 0.8168 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002661/0.01842, allocations: 12 kB / 0.8168 GB, free: 11.82 MB / 0.7761 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.000145/0.01857, allocations: 100.3 kB / 0.8169 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008528/0.01942, allocations: 196.7 kB / 0.8171 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01942, allocations: 0 / 0.8171 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004075/0.01983, allocations: 99.8 kB / 0.8172 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.0201, allocations: 12 kB / 0.8172 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.02116, allocations: 264.9 kB / 0.8174 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.696e-05/0.02124, allocations: 79.23 kB / 0.8175 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.973e-05/0.02134, allocations: 19.98 kB / 0.8175 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.516e-05/0.02141, allocations: 12.5 kB / 0.8175 GB, free: 11 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.02141, allocations: 0 / 0.8175 GB, free: 11 MB / 0.7761 GB Notification: Performance of Templates: time 0.003814/0.02522, allocations: 0.9705 MB / 0.8185 GB, free: 10.05 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.595793390995823]