Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.0009504/0.0009504, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009783/0.0009783, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9434/0.9434, 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.758/1.758, allocations: 359 MB / 0.6052 GB, free: 11.02 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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.7871 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.709e-05, allocations: 12.92 kB / 0.7872 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0009907/0.001008, allocations: 0.6026 MB / 0.7877 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.002129, allocations: 1.161 MB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.002162, allocations: 0 / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.002181, allocations: 5.125 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.0024, allocations: 23.86 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 2.274e-06/0.002402, allocations: 3.938 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.488e-05/0.002437, allocations: 9.391 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.278e-05/0.00247, allocations: 0 / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 1.846e-05/0.002488, allocations: 0 / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.969e-05/0.002508, allocations: 5.562 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.035e-06/0.002516, allocations: 0 / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.629e-05/0.002612, allocations: 19.92 kB / 0.7889 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.002623, allocations: 0 / 0.7889 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.136e-05/0.002634, allocations: 0 / 0.7889 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.116e-05/0.002705, allocations: 16.56 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002707, allocations: 1.031 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.002708, allocations: 4 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.002712, allocations: 0 / 0.789 GB, free: 10.55 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.0002187/0.00293, allocations: 342.3 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.002964, allocations: 8.031 kB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.002993, allocations: 4.938 kB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.546e-05/0.003048, allocations: 116.5 kB / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.003059, allocations: 384 / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.003093, allocations: 9.016 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.646e-05/0.003169, allocations: 34.25 kB / 0.7895 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.003179, allocations: 1.25 kB / 0.7895 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.003186, allocations: 384 / 0.7895 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.003194, allocations: 3.938 kB / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.563e-05/0.00322, allocations: 9.578 kB / 0.7895 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.733e-05/0.003317, allocations: 112.6 kB / 0.7896 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.003467, allocations: 43.03 kB / 0.7896 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.736e-05/0.003484, allocations: 11.69 kB / 0.7896 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-05/0.003571, allocations: 5.781 kB / 0.7896 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.00359, allocations: 33.39 kB / 0.7897 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.003591, allocations: 4 kB / 0.7897 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.001082/0.004673, allocations: 277 kB / 0.7899 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.004701, allocations: 55.41 kB / 0.79 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.892e-05/0.00474, allocations: 143.6 kB / 0.7901 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.004754, allocations: 25.7 kB / 0.7902 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.874e-05/0.004783, allocations: 126.9 kB / 0.7903 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.004813, allocations: 15.91 kB / 0.7903 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.004854, allocations: 24.27 kB / 0.7903 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.004964, allocations: 496.1 kB / 0.7908 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.853e-05/0.005002, allocations: 6.125 kB / 0.7908 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/0.005064, allocations: 36.52 kB / 0.7908 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.113e-05/0.005155, allocations: 49.06 kB / 0.7909 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005157, allocations: 4 kB / 0.7909 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001287/0.005286, allocations: 60.19 kB / 0.7909 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.005297, allocations: 8.656 kB / 0.7909 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.005302, allocations: 0 / 0.7909 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.005316, allocations: 2.812 kB / 0.7909 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.005453, allocations: 39.84 kB / 0.791 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.005459, allocations: 0 / 0.791 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.89e-05/0.005548, allocations: 18.53 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.005558, allocations: 7.984 kB / 0.791 GB, free: 8.285 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.546e-05/0.005623, allocations: 161.5 kB / 0.7912 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.005637, allocations: 3.953 kB / 0.7912 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.005817, allocations: 87.89 kB / 0.7912 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.005819, allocations: 0 / 0.7912 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.005823, allocations: 7.875 kB / 0.7913 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.005827, allocations: 3.984 kB / 0.7913 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.006115, allocations: 301.5 kB / 0.7915 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.006117, allocations: 432 / 0.7915 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.006233, allocations: 27.98 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.006236, allocations: 7.938 kB / 0.7916 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.006247, allocations: 0 / 0.7916 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.006249, allocations: 3.938 kB / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.00625, allocations: 0 / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.0064, allocations: 203.9 kB / 0.7918 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.006406, allocations: 7.969 kB / 0.7918 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.006419, allocations: 4.125 kB / 0.7918 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.996e-05/0.006519, allocations: 20 kB / 0.7918 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.006534, allocations: 7.984 kB / 0.7918 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.00654, allocations: 0 / 0.7918 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.734e-05/0.006567, allocations: 123.2 kB / 0.7919 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006567, allocations: 0 / 0.7919 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001643/0.006732, allocations: 19.94 kB / 0.792 GB, free: 7.242 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 (5): * Single equations (assignments): 5 * 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.983e-05/0.006831, allocations: 103.2 kB / 0.7921 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.006966, allocations: 35.61 kB / 0.7921 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.006968, allocations: 0 / 0.7921 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.198e-05/0.007009, allocations: 19.62 kB / 0.7921 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.007158, allocations: 17.89 kB / 0.7921 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.007448, allocations: 128.7 kB / 0.7922 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.981e-05/0.007477, allocations: 51.36 kB / 0.7923 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.007579, allocations: 39.97 kB / 0.7923 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/0.007629, allocations: 8.5 kB / 0.7923 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of SimCode: time 4e-07/0.00763, allocations: 0 / 0.7923 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of Templates: time 0.002226/0.009856, allocations: 0.8535 MB / 0.7932 GB, free: 5.938 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.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.975003320258111]