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.0008679/0.0008679, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.000934/0.000934, allocations: 169 kB / 24.28 MB, free: 280 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.026/1.026, allocations: 177.1 MB / 204.6 MB, free: 5.656 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.769/1.769, allocations: 359 MB / 0.6055 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.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.613e-06/1.613e-06, allocations: 0 / 0.7871 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.011e-05, allocations: 6.062 kB / 0.7872 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.004491/0.004521, allocations: 0.6107 MB / 0.7878 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.005815, allocations: 1.163 MB / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.992e-05/0.005845, allocations: 1.062 kB / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.005862, allocations: 0 / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.006099, allocations: 23.84 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 2.785e-06/0.006102, allocations: 1.562 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.12e-05/0.006143, allocations: 3.938 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.006182, allocations: 4 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.525e-05/0.006208, allocations: 7.938 kB / 0.7889 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.467e-05/0.006232, allocations: 1.281 kB / 0.7889 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.898e-06/0.006242, allocations: 4 kB / 0.7889 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.006344, allocations: 11.97 kB / 0.7889 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.006355, allocations: 6.062 kB / 0.7889 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.102e-05/0.006366, allocations: 0 / 0.7889 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.786e-05/0.006444, allocations: 15.92 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.006446, allocations: 0 / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.32e-07/0.006447, allocations: 0 / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.00645, allocations: 0 / 0.789 GB, free: 10.86 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.0002456/0.006696, allocations: 346.5 kB / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.006732, allocations: 8.031 kB / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.006772, allocations: 8.938 kB / 0.7893 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.324e-05/0.006835, allocations: 108.6 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.006845, allocations: 384 / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.006868, allocations: 5.938 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.272e-05/0.006951, allocations: 30.25 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.00696, allocations: 4.188 kB / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.006971, allocations: 8.125 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.006978, allocations: 0 / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.75e-05/0.007006, allocations: 5.75 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001129/0.007119, allocations: 108.7 kB / 0.7896 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003169/0.01029, allocations: 43 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.34e-05/0.01031, allocations: 11.78 kB / 0.7896 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.01042, allocations: 8.922 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.01044, allocations: 33.39 kB / 0.7897 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.01044, allocations: 0.5938 kB / 0.7897 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.001319/0.01176, allocations: 277.5 kB / 0.7899 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.0118, allocations: 55.41 kB / 0.79 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.586e-05/0.01184, allocations: 146.2 kB / 0.7901 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.01186, allocations: 28.86 kB / 0.7901 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.01189, allocations: 126.9 kB / 0.7903 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.01192, allocations: 11.91 kB / 0.7903 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.01198, allocations: 27.38 kB / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.0121, allocations: 496.1 kB / 0.7908 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.05e-05/0.01215, allocations: 8.438 kB / 0.7908 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.293e-05/0.01222, allocations: 37.47 kB / 0.7908 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.01232, allocations: 48.83 kB / 0.7909 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.01233, allocations: 4 kB / 0.7909 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001542/0.01248, allocations: 59.69 kB / 0.7909 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.0125, allocations: 10.97 kB / 0.7909 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.0125, allocations: 0 / 0.7909 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.01252, allocations: 3.938 kB / 0.7909 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.01268, allocations: 35.17 kB / 0.791 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01268, allocations: 0 / 0.791 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.0128, allocations: 24.58 kB / 0.791 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.01281, allocations: 4 kB / 0.791 GB, free: 8.594 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 7.483e-05/0.01289, allocations: 156.6 kB / 0.7912 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.01291, allocations: 12.36 kB / 0.7912 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.01312, allocations: 81.3 kB / 0.7912 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01312, allocations: 3.938 kB / 0.7912 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01313, allocations: 0 / 0.7912 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01313, allocations: 3.984 kB / 0.7913 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003726/0.01686, allocations: 309.4 kB / 0.7915 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01686, allocations: 0 / 0.7915 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.01703, allocations: 35.97 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.01703, allocations: 3.938 kB / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.01705, allocations: 0 / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01705, allocations: 0 / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.01705, allocations: 3.938 kB / 0.7916 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.01725, allocations: 203.9 kB / 0.7918 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-06/0.01726, allocations: 3.938 kB / 0.7918 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.01727, allocations: 192 / 0.7918 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.01741, allocations: 23.98 kB / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.01743, allocations: 11.98 kB / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.01744, allocations: 4 kB / 0.7918 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.244e-05/0.01747, allocations: 119.2 kB / 0.7919 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01747, allocations: 0 / 0.7919 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002371/0.01771, allocations: 15.94 kB / 0.792 GB, free: 7.543 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 0.0001347/0.01785, allocations: 95.25 kB / 0.792 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001562/0.018, allocations: 43.55 kB / 0.7921 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.018, allocations: 0 / 0.7921 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.572e-05/0.01806, allocations: 27.86 kB / 0.7921 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.01826, allocations: 4 kB / 0.7921 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.01861, allocations: 138.3 kB / 0.7922 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.724e-05/0.01865, allocations: 51.36 kB / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001324/0.01878, allocations: 24 kB / 0.7923 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.01884, allocations: 20.48 kB / 0.7923 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of SimCode: time 4.7e-07/0.01884, allocations: 0 / 0.7923 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of Templates: time 0.005634/0.02448, allocations: 0.8533 MB / 0.7932 GB, free: 6.234 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: 5.012183889048174]