Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007955/0.0007955, allocations: 76.55 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.0007798/0.0007798, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8713/0.8713, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.756/1.756, allocations: 389 MB / 0.6338 GB, free: 12.73 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.486e-05, allocations: 6.219 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001073/0.001098, allocations: 0.5915 MB / 1.002 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.002166, allocations: 1.132 MB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.002189, allocations: 3.938 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.002204, allocations: 0 / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.002436, allocations: 19.91 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.017e-06/0.00244, allocations: 0 / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 3.968e-05/0.002479, allocations: 0 / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.002519, allocations: 4 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.503e-05/0.002544, allocations: 4 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.188e-05/0.002566, allocations: 3.938 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 8.285e-06/0.002574, allocations: 7.938 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.98e-05/0.002664, allocations: 15.97 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.437e-06/0.002673, allocations: 0 / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.191e-05/0.002685, allocations: 4 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 7.84e-05/0.002764, allocations: 19.86 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.002765, allocations: 0 / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002767, allocations: 0 / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.00277, allocations: 0 / 1.003 GB, free: 11.14 MB / 0.9636 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.0002015/0.002972, allocations: 244.8 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.003008, allocations: 8.75 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.003192, allocations: 20.92 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.767e-05/0.00325, allocations: 105.8 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.003263, allocations: 4.375 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.003286, allocations: 384 / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.975e-05/0.003375, allocations: 42.17 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.003384, allocations: 192 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.003394, allocations: 4.375 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.003402, allocations: 7.938 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.346e-05/0.003435, allocations: 4 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.572e-05/0.003531, allocations: 97.31 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.003671, allocations: 30.58 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.00369, allocations: 16.98 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.003707, allocations: 3.938 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.003725, allocations: 38.56 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.003725, allocations: 0 / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.001739/0.005465, allocations: 0.548 MB / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.005495, allocations: 51.41 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.662e-05/0.005522, allocations: 89.86 kB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.005537, allocations: 29.64 kB / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.91e-05/0.005556, allocations: 84.14 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.00559, allocations: 11.84 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.005629, allocations: 21.7 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.005702, allocations: 318.8 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.005951, allocations: 83.95 kB / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.00621, allocations: 106.5 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.006707, allocations: 190.4 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.006709, allocations: 3.938 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005435/0.007252, allocations: 213.6 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.007266, allocations: 7.984 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.007273, allocations: 4 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.007284, allocations: 0 / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.007454, allocations: 55.94 kB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.007459, allocations: 0 / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.0076, allocations: 39.98 kB / 1.005 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.00761, allocations: 0 / 1.005 GB, free: 8.504 MB / 0.9636 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.304e-05/0.007673, allocations: 117.8 kB / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.007684, allocations: 3.953 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.007728, allocations: 11.78 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.007731, allocations: 4 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.007738, allocations: 7.938 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.007741, allocations: 4 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000728/0.008469, allocations: 394.2 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.00847, allocations: 0 / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.008625, allocations: 51.97 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.008628, allocations: 3.938 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.008639, allocations: 3.938 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.00864, allocations: 0 / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008641, allocations: 0 / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005538/0.009194, allocations: 299.5 kB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.0092, allocations: 8.422 kB / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.009216, allocations: 7.938 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.009369, allocations: 43.97 kB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.00938, allocations: 0 / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.009387, allocations: 0 / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.86e-05/0.009405, allocations: 79.28 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009405, allocations: 0 / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001558/0.009561, allocations: 8 kB / 1.006 GB, free: 7.41 MB / 0.9636 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 7.682e-05/0.009638, allocations: 103.2 kB / 1.006 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005689/0.01021, allocations: 183.9 kB / 1.006 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01021, allocations: 0 / 1.006 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.01045, allocations: 95.94 kB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.0106, allocations: 4 kB / 1.006 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005723/0.01117, allocations: 246.5 kB / 1.007 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.998e-05/0.01121, allocations: 59.36 kB / 1.007 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.231e-05/0.01128, allocations: 16.48 kB / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.01128, allocations: 0 / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of Templates: time 0.001743/0.01303, allocations: 1.097 MB / 1.008 GB, free: 5.566 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.281298155896366]