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.002503/0.002503, allocations: 83.75 kB / 20.23 MB, free: 4.039 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.002655/0.002655, allocations: 157.4 kB / 23.55 MB, free: 0.7266 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.564/1.564, 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 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 2.946/2.946, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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.533e-06/1.533e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.433e-05/4.587e-05, allocations: 10.25 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.00288/0.002926, allocations: 1.473 MB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009446/0.003871, allocations: 489.1 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.003906, allocations: 0 / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.003932, allocations: 3.938 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.83e-05/0.00402, allocations: 9.156 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.004221, allocations: 19.92 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.293e-05/0.004294, allocations: 28.53 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.403e-05/0.004378, allocations: 4 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.746e-05/0.004456, allocations: 17.39 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.642e-05/0.004492, allocations: 11.92 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.004507, allocations: 0 / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.081e-05/0.004567, allocations: 12 kB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.004586, allocations: 8.844 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.004608, allocations: 7.969 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.004723, allocations: 40.34 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004725, allocations: 0.6875 kB / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004726, allocations: 0 / 0.7884 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.00473, allocations: 0.9062 kB / 0.7884 GB, free: 10.71 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.0004958/0.005226, allocations: 364.2 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.005264, allocations: 12.69 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.005299, allocations: 0.9375 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.005428, allocations: 114.2 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.005439, allocations: 384 / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.005448, allocations: 384 / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.005597, allocations: 46.25 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.005605, allocations: 0.875 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.005613, allocations: 384 / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.005619, allocations: 7.344 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.005741, allocations: 31.91 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.006093, allocations: 251.8 kB / 0.7892 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.006208, allocations: 39.09 kB / 0.7893 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.311e-05/0.006271, allocations: 19.73 kB / 0.7893 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.407e-05/0.006365, allocations: 8 kB / 0.7893 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/0.006414, allocations: 41.33 kB / 0.7893 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.006415, allocations: 0.7188 kB / 0.7893 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002833/0.006698, allocations: 67.27 kB / 0.7894 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.006742, allocations: 55.41 kB / 0.7895 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.007105, allocations: 165.9 kB / 0.7896 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.007123, allocations: 27.08 kB / 0.7896 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.007201, allocations: 126.9 kB / 0.7898 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.007227, allocations: 19.88 kB / 0.7898 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.007265, allocations: 15.38 kB / 0.7898 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002705/0.007536, allocations: 0.4895 MB / 0.7903 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.537e-05/0.007591, allocations: 11.94 kB / 0.7903 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.927e-05/0.007641, allocations: 12.73 kB / 0.7903 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.007751, allocations: 40.23 kB / 0.7903 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007753, allocations: 1.312 kB / 0.7903 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001856/0.007939, allocations: 49.69 kB / 0.7904 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.007959, allocations: 12.56 kB / 0.7904 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.007963, allocations: 0 / 0.7904 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.007975, allocations: 1.344 kB / 0.7904 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.008046, allocations: 7.984 kB / 0.7904 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.00805, allocations: 0 / 0.7904 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.167e-05/0.008082, allocations: 4.562 kB / 0.7904 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.008086, allocations: 0 / 0.7904 GB, free: 8.504 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 0.0001154/0.008202, allocations: 157.1 kB / 0.7906 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.008229, allocations: 9.141 kB / 0.7906 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.008443, allocations: 68.91 kB / 0.7906 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.008448, allocations: 4.688 kB / 0.7906 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.008451, allocations: 0 / 0.7906 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.008453, allocations: 1.375 kB / 0.7906 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.008618, allocations: 116.6 kB / 0.7908 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.008619, allocations: 0 / 0.7908 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.008663, allocations: 5.219 kB / 0.7908 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.008665, allocations: 4 kB / 0.7908 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.008684, allocations: 3.938 kB / 0.7908 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.008685, allocations: 0 / 0.7908 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.008691, allocations: 8.75 kB / 0.7908 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.008945, allocations: 205.3 kB / 0.791 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.008951, allocations: 0 / 0.791 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.008971, allocations: 11.94 kB / 0.791 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.968e-05/0.009031, allocations: 4.797 kB / 0.791 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.009067, allocations: 4 kB / 0.791 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-06/0.00907, allocations: 0.5312 kB / 0.791 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.986e-05/0.00915, allocations: 128 kB / 0.7911 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.00915, allocations: 0 / 0.7911 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002151/0.009365, allocations: 4.938 kB / 0.7911 GB, free: 7.719 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 0.0001725/0.009538, allocations: 108.4 kB / 0.7912 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.009717, allocations: 35.61 kB / 0.7913 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.009718, allocations: 0.9688 kB / 0.7913 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.597e-05/0.009794, allocations: 27.61 kB / 0.7913 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.01004, allocations: 6.312 kB / 0.7913 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.01034, allocations: 118.3 kB / 0.7914 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.955e-05/0.01042, allocations: 63.34 kB / 0.7915 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.344e-05/0.01044, allocations: 3.375 kB / 0.7915 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.01047, allocations: 12.5 kB / 0.7915 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.01047, allocations: 0 / 0.7915 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of Templates: time 0.00355/0.01402, allocations: 0.6198 MB / 0.7921 GB, free: 6.707 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.867761824047193]