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.001661/0.001661, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001487/0.001487, allocations: 191.5 kB / 22.23 MB, free: 5.16 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.431/1.431, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.816/2.816, allocations: 476.7 MB / 0.7646 GB, free: 9.879 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.002062/0.002062, allocations: 67.89 kB / 1.11 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8131/0.8151, allocations: 168.8 MB / 1.274 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001907/0.817, allocations: 0.5899 MB / 1.275 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.8186, allocations: 1.12 MB / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.8187, allocations: 0 / 1.276 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.8187, allocations: 4 kB / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.8189, allocations: 19.92 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.819, allocations: 4 kB / 1.276 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.341e-05/0.819, allocations: 7.938 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.819, allocations: 0 / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.569e-05/0.8191, allocations: 3.984 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.203e-05/0.8191, allocations: 4 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.514e-06/0.8191, allocations: 0 / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.8192, allocations: 19.92 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.576e-06/0.8192, allocations: 3.938 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.8192, allocations: 0 / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.46e-05/0.8193, allocations: 19.97 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8193, allocations: 4 kB / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8193, allocations: 0 / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.8193, allocations: 0 / 1.276 GB, free: 2.363 MB / 0.9669 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.0003056/0.8196, allocations: 252.7 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.8197, allocations: 12.03 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.8197, allocations: 0.9375 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.054e-05/0.8198, allocations: 106.5 kB / 1.276 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.8198, allocations: 384 / 1.276 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.8198, allocations: 8.312 kB / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.8199, allocations: 46 kB / 1.277 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.82, allocations: 3.938 kB / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.82, allocations: 0 / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.82, allocations: 0 / 1.277 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.038e-05/0.82, allocations: 7.984 kB / 1.277 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/0.8202, allocations: 120.8 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.8204, allocations: 30.61 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.8204, allocations: 8.859 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.8206, allocations: 16.08 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.8206, allocations: 38.44 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.8206, allocations: 4 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.004535/0.8251, allocations: 0.5676 MB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.8252, allocations: 51.41 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.023e-05/0.8252, allocations: 89.86 kB / 1.277 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.8253, allocations: 29.7 kB / 1.277 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.449e-05/0.8253, allocations: 80.14 kB / 1.278 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.8253, allocations: 19.84 kB / 1.278 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.8254, allocations: 21.7 kB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.8255, allocations: 310.8 kB / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006264/0.8262, allocations: 83.95 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00063/0.8268, allocations: 102.5 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.828, allocations: 190.4 kB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.828, allocations: 4 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001364/0.8294, allocations: 217.5 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.8294, allocations: 4 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.8294, allocations: 0 / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.8294, allocations: 4 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.8299, allocations: 48 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.8299, allocations: 192 / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.8302, allocations: 47.97 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.8303, allocations: 8 kB / 1.279 GB, free: 15.68 MB / 0.9825 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 0.0001124/0.8304, allocations: 105.8 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.8304, allocations: 3.938 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.8318, allocations: 241.1 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.8318, allocations: 0 / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8318, allocations: 3.938 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.8319, allocations: 8.344 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.8336, allocations: 437.4 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.8336, allocations: 4 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/0.834, allocations: 43.97 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.834, allocations: 4 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.834, allocations: 3.984 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.834, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.834, allocations: 4 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.8354, allocations: 303.4 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.8354, allocations: 4 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.8354, allocations: 7.938 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.8358, allocations: 35.98 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.8358, allocations: 11.98 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.8358, allocations: 0 / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001607/0.836, allocations: 75.28 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.836, allocations: 0 / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002633/0.8362, allocations: 12 kB / 1.28 GB, free: 14.31 MB / 0.9825 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.0001984/0.8364, allocations: 99.19 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.8378, allocations: 191.8 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.8378, allocations: 4 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006338/0.8384, allocations: 80.27 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.8387, allocations: 10.62 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.8399, allocations: 218.6 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.8403, allocations: 0.6768 MB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001833/0.8405, allocations: 28 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.897e-05/0.8406, allocations: 11.44 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.8406, allocations: 0 / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of Templates: time 0.003591/0.8442, allocations: 0.8383 MB / 1.282 GB, free: 12.11 MB / 0.9825 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.638242504559457]