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.0008396/0.0008396, allocations: 80.53 kB / 19.93 MB, free: 4.633 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.000803/0.000803, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8693/0.8693, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.634/1.634, allocations: 359 MB / 0.6044 GB, free: 11.09 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.312e-06/1.312e-06, allocations: 0 / 0.9518 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.919e-05, allocations: 6.281 kB / 0.9518 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0009684/0.0009876, allocations: 0.5955 MB / 0.9524 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009525/0.00194, allocations: 1.124 MB / 0.9535 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.182e-05/0.001962, allocations: 0 / 0.9535 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.001977, allocations: 4 kB / 0.9535 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.002205, allocations: 27.78 kB / 0.9535 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.507e-06/0.002209, allocations: 0 / 0.9535 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.116e-05/0.00225, allocations: 4 kB / 0.9535 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.002293, allocations: 0 / 0.9535 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.758e-05/0.00232, allocations: 7.984 kB / 0.9535 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.181e-05/0.002342, allocations: 4 kB / 0.9535 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.002352, allocations: 0 / 0.9535 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.295e-05/0.002445, allocations: 19.92 kB / 0.9535 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.002456, allocations: 0 / 0.9535 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.17e-05/0.002468, allocations: 0 / 0.9535 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.059e-05/0.002548, allocations: 19.86 kB / 0.9535 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.00255, allocations: 0 / 0.9535 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.132e-06/0.002551, allocations: 0 / 0.9535 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.002555, allocations: 0 / 0.9535 GB, free: 1.098 MB / 0.9011 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.0002256/0.002781, allocations: 246.3 kB / 0.9538 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.002821, allocations: 12.03 kB / 0.9538 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.002852, allocations: 8.891 kB / 0.9538 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.556e-05/0.002907, allocations: 101.8 kB / 0.9539 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.002917, allocations: 384 / 0.9539 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.00294, allocations: 4.375 kB / 0.9539 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.841e-05/0.003028, allocations: 38.25 kB / 0.9539 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.003039, allocations: 192 / 0.9539 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.003049, allocations: 4.359 kB / 0.9539 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.003054, allocations: 3.938 kB / 0.9539 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.451e-05/0.003089, allocations: 11.92 kB / 0.954 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.685e-05/0.003185, allocations: 101.3 kB / 0.9541 GB, free: 500 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.003341, allocations: 30.61 kB / 0.9541 GB, free: 460 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.003356, allocations: 12.86 kB / 0.9541 GB, free: 444 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.071e-05/0.003447, allocations: 8 kB / 0.9541 GB, free: 436 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.003465, allocations: 34.64 kB / 0.9541 GB, free: 392 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.003466, allocations: 0 / 0.9541 GB, free: 392 kB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.002136/0.005602, allocations: 0.5637 MB / 0.9547 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.005634, allocations: 59.39 kB / 0.9547 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.654e-05/0.00566, allocations: 89.86 kB / 0.9548 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.005673, allocations: 25.7 kB / 0.9549 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 1.999e-05/0.005693, allocations: 88.12 kB / 0.9549 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.005725, allocations: 19.8 kB / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.005766, allocations: 25.7 kB / 0.955 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.813e-05/0.005834, allocations: 310.8 kB / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.006078, allocations: 87.95 kB / 0.9554 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.006322, allocations: 102.5 kB / 0.9555 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.006803, allocations: 194.4 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.006806, allocations: 4 kB / 0.9557 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005225/0.007328, allocations: 209.6 kB / 0.9559 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.007339, allocations: 4 kB / 0.9559 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.007344, allocations: 0 / 0.9559 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.007354, allocations: 11.97 kB / 0.9559 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.007513, allocations: 47.91 kB / 0.9559 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.007518, allocations: 0 / 0.9559 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.00765, allocations: 39.98 kB / 0.956 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.007662, allocations: 11.92 kB / 0.956 GB, free: 14.44 MB / 0.9167 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.033e-05/0.007722, allocations: 113.8 kB / 0.9561 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.007731, allocations: 4 kB / 0.9561 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005835/0.008315, allocations: 233.1 kB / 0.9563 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.008317, allocations: 0 / 0.9563 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.008322, allocations: 3.938 kB / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.008325, allocations: 0 / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007023/0.009028, allocations: 402.1 kB / 0.9567 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.009029, allocations: 0 / 0.9567 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.009244, allocations: 51.97 kB / 0.9567 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.009248, allocations: 3.938 kB / 0.9567 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.009262, allocations: 7.938 kB / 0.9567 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.009263, allocations: 0 / 0.9567 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009264, allocations: 0 / 0.9567 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007532/0.01002, allocations: 303.7 kB / 0.957 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.01003, allocations: 4 kB / 0.957 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.01004, allocations: 7.938 kB / 0.957 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.01025, allocations: 39.97 kB / 0.9571 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.01026, allocations: 4.422 kB / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.01027, allocations: 0 / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.227e-05/0.01029, allocations: 75.28 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01029, allocations: 4 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002361/0.01053, allocations: 12 kB / 0.9572 GB, free: 13.12 MB / 0.9167 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.0001342/0.01066, allocations: 107.2 kB / 0.9573 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007276/0.01139, allocations: 175.8 kB / 0.9574 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01139, allocations: 4.188 kB / 0.9574 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000344/0.01174, allocations: 95.88 kB / 0.9575 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.01196, allocations: 3.938 kB / 0.9575 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007198/0.01268, allocations: 242.5 kB / 0.9578 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.136e-05/0.01272, allocations: 59.36 kB / 0.9578 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.01278, allocations: 20.48 kB / 0.9579 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of SimCode: time 6.41e-07/0.01278, allocations: 0 / 0.9579 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of Templates: time 0.001693/0.01448, allocations: 1.123 MB / 0.9589 GB, free: 11.25 MB / 0.9167 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=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: 6.276252909563482]