Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.0008731/0.0008731, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001083/0.001083, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9959/0.9959, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.679/1.679, allocations: 359 MB / 0.6052 GB, free: 11 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.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.635e-05, allocations: 5.125 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001812/0.001839, allocations: 1.489 MB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006411/0.00248, allocations: 495.5 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.236e-05/0.002512, allocations: 0 / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.002541, allocations: 3.938 kB / 0.789 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-05/0.002607, allocations: 3.984 kB / 0.789 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.002812, allocations: 23.92 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.126e-05/0.002873, allocations: 23.86 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.817e-05/0.002951, allocations: 13.73 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.694e-05/0.003018, allocations: 8 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.26e-05/0.003051, allocations: 11.98 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.003065, allocations: 7.984 kB / 0.7891 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.663e-05/0.003122, allocations: 19.86 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.003136, allocations: 4.594 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.695e-05/0.003153, allocations: 5.312 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.649e-05/0.003249, allocations: 35.83 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.003251, allocations: 0 / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003252, allocations: 0 / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.003256, allocations: 1.219 kB / 0.7892 GB, free: 10.32 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003315/0.003587, allocations: 364.6 kB / 0.7895 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.003625, allocations: 12.03 kB / 0.7896 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.00366, allocations: 1.812 kB / 0.7896 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.427e-05/0.003734, allocations: 108.6 kB / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.003744, allocations: 1.219 kB / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.003753, allocations: 4.359 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.003863, allocations: 57.55 kB / 0.7897 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.003869, allocations: 192 / 0.7897 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.003877, allocations: 4.375 kB / 0.7897 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.003884, allocations: 3.938 kB / 0.7897 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.621e-05/0.00391, allocations: 11.92 kB / 0.7897 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.004163, allocations: 251.8 kB / 0.79 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.881e-05/0.004212, allocations: 27.59 kB / 0.79 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.004234, allocations: 16.39 kB / 0.79 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-05/0.004308, allocations: 4.062 kB / 0.79 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.004331, allocations: 45.8 kB / 0.7901 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.004333, allocations: 0 / 0.7901 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001313/0.004464, allocations: 39.34 kB / 0.7901 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.004492, allocations: 51.41 kB / 0.7902 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.321e-05/0.004555, allocations: 161.9 kB / 0.7903 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.004564, allocations: 26.3 kB / 0.7903 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.004605, allocations: 134.9 kB / 0.7905 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.00462, allocations: 4.734 kB / 0.7905 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.004644, allocations: 19.38 kB / 0.7905 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.004738, allocations: 497.3 kB / 0.791 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.004752, allocations: 4.25 kB / 0.791 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-06/0.004761, allocations: 0 / 0.791 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.00479, allocations: 24.98 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.004792, allocations: 0 / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.932e-05/0.004841, allocations: 43.45 kB / 0.791 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.004854, allocations: 11.88 kB / 0.791 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.004857, allocations: 0 / 0.791 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.004869, allocations: 0 / 0.791 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.84e-05/0.004928, allocations: 7.984 kB / 0.791 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.004933, allocations: 1.281 kB / 0.791 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.525e-05/0.004948, allocations: 4 kB / 0.7911 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.004952, allocations: 0 / 0.7911 GB, free: 8.223 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 (2): * Single equations (assignments): 2 * 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 5.786e-05/0.00501, allocations: 157.4 kB / 0.7912 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.005025, allocations: 11.83 kB / 0.7912 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.745e-05/0.005103, allocations: 46.22 kB / 0.7913 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.005104, allocations: 0 / 0.7913 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.005108, allocations: 1.312 kB / 0.7913 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.00511, allocations: 0 / 0.7913 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.466e-05/0.005195, allocations: 116.6 kB / 0.7914 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.005197, allocations: 4 kB / 0.7914 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/0.005216, allocations: 5.656 kB / 0.7914 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.005218, allocations: 0 / 0.7914 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.005224, allocations: 7.922 kB / 0.7914 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.005225, allocations: 0 / 0.7914 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.005227, allocations: 6.672 kB / 0.7914 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.846e-05/0.005315, allocations: 187.9 kB / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-06/0.00532, allocations: 0 / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.005331, allocations: 7.922 kB / 0.7916 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.779e-05/0.005358, allocations: 4 kB / 0.7916 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.00539, allocations: 0 / 0.7916 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.005393, allocations: 0 / 0.7916 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.212e-05/0.005425, allocations: 131.7 kB / 0.7917 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005425, allocations: 0.5312 kB / 0.7917 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001393/0.005564, allocations: 15.89 kB / 0.7917 GB, free: 7.469 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 (2): * Single equations (assignments): 2 * 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.966e-05/0.005664, allocations: 97.19 kB / 0.7918 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.381e-05/0.005738, allocations: 15.69 kB / 0.7918 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.005739, allocations: 0 / 0.7918 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.917e-05/0.005758, allocations: 24.45 kB / 0.7919 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.00593, allocations: 5.031 kB / 0.7919 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.006159, allocations: 115 kB / 0.792 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.533e-05/0.006194, allocations: 58.27 kB / 0.792 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.711e-05/0.006212, allocations: 7.938 kB / 0.792 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.006233, allocations: 12.5 kB / 0.792 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.006234, allocations: 0 / 0.792 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of Templates: time 0.002222/0.008455, allocations: 0.6568 MB / 0.7927 GB, free: 6.445 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.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.673274184111506]