Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001212/0.001212, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001372/0.001372, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.944/0.944, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.653/1.653, allocations: 359 MB / 0.6052 GB, free: 11.05 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.[0-9,]+..y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.[0-9,]+..y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.9e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002077/0.002096, allocations: 1.516 MB / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003193/0.002415, allocations: 140.8 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.002444, allocations: 0 / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.527e-05/0.002489, allocations: 7.938 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.112e-05/0.00255, allocations: 1.406 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.002753, allocations: 35.89 kB / 0.7888 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.535e-05/0.002839, allocations: 39.84 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.002947, allocations: 24.45 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.947e-05/0.002997, allocations: 21.08 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.496e-05/0.003042, allocations: 19.91 kB / 0.7889 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.003065, allocations: 4 kB / 0.7889 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.908e-05/0.003144, allocations: 33.84 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.00316, allocations: 4 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.003184, allocations: 15.88 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.003297, allocations: 63.8 kB / 0.789 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.003299, allocations: 0 / 0.789 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.91e-07/0.0033, allocations: 0.7188 kB / 0.789 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.003303, allocations: 4 kB / 0.789 GB, free: 10.6 MB / 0.7448 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.0003159/0.003619, allocations: 377.6 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.003655, allocations: 12.03 kB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004499/0.004105, allocations: 151.7 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.096e-05/0.004186, allocations: 120.5 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.0042, allocations: 8.375 kB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.004214, allocations: 384 / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.004442, allocations: 136.5 kB / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004449, allocations: 192 / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.004461, allocations: 384 / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.004467, allocations: 384 / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.638e-05/0.004544, allocations: 50.44 kB / 0.7898 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.004971, allocations: 340.6 kB / 0.7901 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.005188, allocations: 99.55 kB / 0.7902 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.005228, allocations: 21.39 kB / 0.7902 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.005246, allocations: 7.938 kB / 0.7903 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.005263, allocations: 33.39 kB / 0.7903 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.005264, allocations: 0 / 0.7903 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001885/0.005452, allocations: 75.36 kB / 0.7904 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.00548, allocations: 51.41 kB / 0.7904 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.369e-05/0.005543, allocations: 165.9 kB / 0.7906 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.005556, allocations: 25.7 kB / 0.7906 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.0056, allocations: 143.4 kB / 0.7907 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.005621, allocations: 15.94 kB / 0.7907 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.005656, allocations: 28.31 kB / 0.7908 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.005759, allocations: 0.4884 MB / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.274e-05/0.005792, allocations: 13.92 kB / 0.7913 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.914e-05/0.005821, allocations: 12 kB / 0.7913 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.558e-05/0.005877, allocations: 31.67 kB / 0.7913 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005878, allocations: 0 / 0.7913 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.935e-05/0.005978, allocations: 67.64 kB / 0.7914 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.005989, allocations: 8 kB / 0.7914 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.005992, allocations: 0 / 0.7914 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.006004, allocations: 0 / 0.7914 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/0.006098, allocations: 19.97 kB / 0.7914 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.006102, allocations: 0.5312 kB / 0.7914 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.006155, allocations: 20.69 kB / 0.7914 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.006162, allocations: 0 / 0.7914 GB, free: 7.922 MB / 0.7448 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.108e-05/0.006223, allocations: 158.7 kB / 0.7916 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.006243, allocations: 7.938 kB / 0.7916 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.006269, allocations: 4 kB / 0.7916 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.006271, allocations: 0 / 0.7916 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.006274, allocations: 4.531 kB / 0.7916 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.006276, allocations: 1.312 kB / 0.7916 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.006383, allocations: 132.6 kB / 0.7917 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006384, allocations: 0 / 0.7917 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-05/0.006445, allocations: 21.12 kB / 0.7917 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.006448, allocations: 3.938 kB / 0.7917 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.006457, allocations: 4 kB / 0.7917 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.006459, allocations: 5.375 kB / 0.7917 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.00646, allocations: 0 / 0.7917 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.006599, allocations: 207.8 kB / 0.7919 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-06/0.006606, allocations: 4.906 kB / 0.7919 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.00662, allocations: 3.938 kB / 0.7919 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.006686, allocations: 20.81 kB / 0.792 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.006715, allocations: 4.375 kB / 0.792 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.006719, allocations: 1.312 kB / 0.792 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.638e-05/0.006756, allocations: 131.1 kB / 0.7921 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006756, allocations: 0 / 0.7921 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000151/0.006907, allocations: 19.95 kB / 0.7921 GB, free: 7.145 MB / 0.7448 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 6.954e-05/0.006976, allocations: 96.47 kB / 0.7922 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.007095, allocations: 45.31 kB / 0.7922 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.007096, allocations: 0 / 0.7922 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.359e-05/0.007139, allocations: 23.67 kB / 0.7923 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.007319, allocations: 18.27 kB / 0.7923 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003635/0.007683, allocations: 170.4 kB / 0.7924 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.848e-05/0.007721, allocations: 63.36 kB / 0.7925 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.198e-05/0.007763, allocations: 13.78 kB / 0.7925 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.007807, allocations: 16.48 kB / 0.7925 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.007808, allocations: 0 / 0.7925 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of Templates: time 0.002281/0.01009, allocations: 1.016 MB / 0.7935 GB, free: 5.664 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.639649786055088]