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.001168/0.001168, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001057/0.001057, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.024/1.024, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.758/1.758, allocations: 359 MB / 0.6055 GB, free: 10.89 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.302e-06/1.302e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.747e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001695/0.001713, allocations: 1.485 MB / 0.789 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000616/0.002329, allocations: 493.5 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.00236, allocations: 3.938 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.002382, allocations: 0.5312 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.087e-05/0.002443, allocations: 8.891 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.002619, allocations: 19.92 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.535e-05/0.002675, allocations: 32.97 kB / 0.7895 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.13e-05/0.002746, allocations: 0 / 0.7895 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.96e-05/0.002815, allocations: 15.98 kB / 0.7896 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.863e-05/0.002844, allocations: 9.344 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.002857, allocations: 4 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.348e-05/0.00291, allocations: 23.86 kB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.002922, allocations: 0 / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.002938, allocations: 17.03 kB / 0.7896 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.847e-05/0.003016, allocations: 19.92 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.003019, allocations: 4 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003019, allocations: 1.562 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.825e-06/0.003022, allocations: 0 / 0.7896 GB, free: 10.06 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.0002845/0.003306, allocations: 368.6 kB / 0.79 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.003339, allocations: 9.688 kB / 0.79 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.003362, allocations: 4.938 kB / 0.79 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.464e-05/0.003427, allocations: 104.6 kB / 0.7901 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.003434, allocations: 384 / 0.7901 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.003443, allocations: 12.36 kB / 0.7901 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.425e-05/0.003527, allocations: 60.34 kB / 0.7902 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.003532, allocations: 192 / 0.7902 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.949e-06/0.003537, allocations: 384 / 0.7902 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.003542, allocations: 3.938 kB / 0.7902 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.737e-05/0.003559, allocations: 5.875 kB / 0.7902 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.003749, allocations: 232.3 kB / 0.7904 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.081e-05/0.00379, allocations: 39.08 kB / 0.7904 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.288e-05/0.003803, allocations: 7.688 kB / 0.7904 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.594e-05/0.003869, allocations: 10.34 kB / 0.7905 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.003889, allocations: 41.39 kB / 0.7905 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.00389, allocations: 0 / 0.7905 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 9.992e-05/0.00399, allocations: 41.62 kB / 0.7905 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.004014, allocations: 51.41 kB / 0.7906 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.004351, allocations: 162.5 kB / 0.7907 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.004361, allocations: 31.36 kB / 0.7908 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.004399, allocations: 130.9 kB / 0.7909 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.004413, allocations: 3.953 kB / 0.7909 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.004437, allocations: 19.38 kB / 0.7909 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.004538, allocations: 492.1 kB / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.886e-06/0.004547, allocations: 4.562 kB / 0.7914 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-06/0.004555, allocations: 13.23 kB / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.286e-05/0.004578, allocations: 15.69 kB / 0.7914 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.00458, allocations: 0 / 0.7914 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.06e-05/0.00462, allocations: 34.86 kB / 0.7914 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.004631, allocations: 4 kB / 0.7915 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.004635, allocations: 5.312 kB / 0.7915 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.236e-06/0.004643, allocations: 4 kB / 0.7915 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.716e-05/0.004691, allocations: 7.984 kB / 0.7915 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.004693, allocations: 0 / 0.7915 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.511e-05/0.004708, allocations: 5.75 kB / 0.7915 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-06/0.004712, allocations: 0 / 0.7915 GB, free: 7.988 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.11e-05/0.004763, allocations: 156.5 kB / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.004776, allocations: 7.953 kB / 0.7916 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.503e-05/0.004841, allocations: 49.7 kB / 0.7917 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.004842, allocations: 0.75 kB / 0.7917 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.004844, allocations: 4 kB / 0.7917 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.004846, allocations: 0.5 kB / 0.7917 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8e-05/0.004926, allocations: 105.2 kB / 0.7918 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.004927, allocations: 1.938 kB / 0.7918 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.645e-05/0.004943, allocations: 4 kB / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.004945, allocations: 3.984 kB / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-06/0.004949, allocations: 0 / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.004949, allocations: 0 / 0.7918 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.004951, allocations: 6.25 kB / 0.7918 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.44e-05/0.005025, allocations: 187.9 kB / 0.792 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-06/0.00503, allocations: 0 / 0.792 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-06/0.005038, allocations: 4.25 kB / 0.792 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.835e-05/0.005066, allocations: 3.984 kB / 0.792 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.005091, allocations: 12.66 kB / 0.792 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.005094, allocations: 4 kB / 0.792 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.647e-05/0.00512, allocations: 119.7 kB / 0.7921 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.00512, allocations: 4.906 kB / 0.7921 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001436/0.005264, allocations: 15.88 kB / 0.7921 GB, free: 7.254 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 8.682e-05/0.005351, allocations: 96.09 kB / 0.7922 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.378e-05/0.005404, allocations: 24.84 kB / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.005405, allocations: 0 / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.465e-05/0.00542, allocations: 15.67 kB / 0.7923 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.005583, allocations: 14.39 kB / 0.7923 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001773/0.00576, allocations: 107.2 kB / 0.7924 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.799e-05/0.005788, allocations: 56.92 kB / 0.7924 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.519e-05/0.005804, allocations: 3.953 kB / 0.7924 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.005844, allocations: 74.19 kB / 0.7925 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.005844, allocations: 1 kB / 0.7925 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of Templates: time 0.001908/0.007752, allocations: 0.689 MB / 0.7932 GB, free: 6.148 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.792503047734499]