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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 111.2 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.837/2.837, allocations: 476.7 MB / 0.7629 GB, free: 15.22 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001889/0.001889, allocations: 59.91 kB / 1.107 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 168.7 MB / 1.272 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001827/1.039, allocations: 0.6102 MB / 1.273 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001646/1.04, allocations: 1.117 MB / 1.274 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.966e-05/1.04, allocations: 0 / 1.274 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.779e-05/1.041, allocations: 4.656 kB / 1.274 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002543/1.041, allocations: 21.27 kB / 1.274 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.098e-06/1.041, allocations: 0.9688 kB / 1.274 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.242e-05/1.041, allocations: 2.172 kB / 1.274 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.5e-05/1.041, allocations: 2.547 kB / 1.274 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.496e-05/1.041, allocations: 4.531 kB / 1.274 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.58e-05/1.041, allocations: 2.094 kB / 1.274 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.116e-06/1.041, allocations: 0 / 1.274 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/1.041, allocations: 21.58 kB / 1.274 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.683e-06/1.041, allocations: 4.594 kB / 1.274 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.374e-05/1.041, allocations: 4.781 kB / 1.274 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.493e-05/1.041, allocations: 16.44 kB / 1.274 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/1.041, allocations: 0.875 kB / 1.274 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/1.041, allocations: 0 / 1.274 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.691e-06/1.041, allocations: 0.75 kB / 1.274 GB, free: 6.688 MB / 0.9981 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.0002473/1.041, allocations: 322.9 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.041, allocations: 10.83 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.405e-05/1.041, allocations: 2 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.958e-05/1.042, allocations: 161.1 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/1.042, allocations: 1.281 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/1.042, allocations: 6.703 kB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/1.042, allocations: 40.28 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/1.042, allocations: 0 / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/1.042, allocations: 4.812 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.042, allocations: 1.5 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.916e-05/1.042, allocations: 8.438 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/1.042, allocations: 151.4 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/1.042, allocations: 36.75 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/1.042, allocations: 8 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/1.042, allocations: 83.62 kB / 1.275 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/1.042, allocations: 35.34 kB / 1.275 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/1.042, allocations: 0 / 1.275 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.004448/1.047, allocations: 0.5723 MB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/1.047, allocations: 58.03 kB / 1.275 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.913e-05/1.047, allocations: 89.86 kB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/1.047, allocations: 30.33 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.268e-05/1.047, allocations: 80.14 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/1.047, allocations: 19.94 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.667e-05/1.047, allocations: 20.08 kB / 1.275 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.315e-05/1.047, allocations: 321.8 kB / 1.276 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006276/1.048, allocations: 82.45 kB / 1.276 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005905/1.048, allocations: 104.6 kB / 1.276 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/1.049, allocations: 190.5 kB / 1.276 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/1.049, allocations: 5.156 kB / 1.276 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001247/1.051, allocations: 212.1 kB / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.051, allocations: 6.906 kB / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.051, allocations: 1.594 kB / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/1.051, allocations: 0.9062 kB / 1.276 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/1.051, allocations: 48.73 kB / 1.276 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.051, allocations: 2.109 kB / 1.276 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/1.051, allocations: 40.28 kB / 1.276 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/1.051, allocations: 7.344 kB / 1.276 GB, free: 4.836 MB / 0.9981 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 5.899e-05/1.051, allocations: 109.4 kB / 1.277 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/1.051, allocations: 12.61 kB / 1.277 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/1.053, allocations: 244.4 kB / 1.277 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.053, allocations: 0.8438 kB / 1.277 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/1.053, allocations: 256 / 1.277 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/1.053, allocations: 1 kB / 1.277 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/1.054, allocations: 458.8 kB / 1.277 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/1.054, allocations: 7.875 kB / 1.277 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/1.055, allocations: 49 kB / 1.277 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.055, allocations: 0 / 1.277 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/1.055, allocations: 2.422 kB / 1.277 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.055, allocations: 1.266 kB / 1.277 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/1.055, allocations: 1.062 kB / 1.277 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/1.056, allocations: 306.2 kB / 1.278 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/1.056, allocations: 78.02 kB / 1.278 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/1.056, allocations: 1.031 kB / 1.278 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/1.056, allocations: 43.88 kB / 1.278 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/1.056, allocations: 1.922 kB / 1.278 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/1.056, allocations: 2.812 kB / 1.278 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.121e-05/1.056, allocations: 75.28 kB / 1.278 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4e-08/1.056, allocations: 0.875 kB / 1.278 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002508/1.057, allocations: 16.25 kB / 1.278 GB, free: 3.961 MB / 0.9981 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.0001422/1.057, allocations: 105.1 kB / 1.278 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001289/1.058, allocations: 186 kB / 1.278 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.058, allocations: 0 / 1.278 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006037/1.059, allocations: 93.7 kB / 1.278 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/1.059, allocations: 3.5 kB / 1.278 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/1.06, allocations: 232.5 kB / 1.278 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.768e-05/1.06, allocations: 0.679 MB / 1.279 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001706/1.06, allocations: 30.34 kB / 1.279 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/1.06, allocations: 11.25 kB / 1.279 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/1.06, allocations: 0.9062 kB / 1.279 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of Templates: time 0.003438/1.064, allocations: 0.8226 MB / 1.28 GB, free: 2.891 MB / 0.9981 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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: 8.947869771160185]