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.0007766/0.0007766, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001089/0.001866, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007281/0.0007281, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009741/0.001702, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9317/0.9317, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09159/1.023, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.446/2.446, allocations: 447.1 MB / 0.675 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2446/2.691, allocations: 146 MB / 0.8176 GB, free: 3.789 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.333e-06/1.333e-06, allocations: 0 / 0.819 GB, free: 2.402 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.204e-05, allocations: 6.312 kB / 0.819 GB, free: 2.395 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001025/0.001037, allocations: 0.6541 MB / 0.8196 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.002038, allocations: 1.17 MB / 0.8208 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.861e-05/0.002057, allocations: 0 / 0.8208 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.446e-06/0.00206, allocations: 0 / 0.8208 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 9.497e-05/0.002155, allocations: 27.8 kB / 0.8208 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 2.756e-06/0.002158, allocations: 0 / 0.8208 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 3.841e-05/0.002196, allocations: 7.984 kB / 0.8208 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.301e-05/0.002229, allocations: 0 / 0.8208 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.065e-05/0.00226, allocations: 15.94 kB / 0.8208 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.074e-05/0.002291, allocations: 3.984 kB / 0.8208 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.002301, allocations: 0 / 0.8208 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.962e-05/0.00239, allocations: 11.94 kB / 0.8208 GB, free: 492 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.002399, allocations: 0 / 0.8208 GB, free: 492 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.012e-05/0.002409, allocations: 3.938 kB / 0.8208 GB, free: 488 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 7.343e-05/0.002483, allocations: 19.92 kB / 0.8209 GB, free: 468 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.002493, allocations: 0 / 0.8209 GB, free: 468 kB / 0.7917 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002494, allocations: 0 / 0.8209 GB, free: 468 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.002506, allocations: 0 / 0.8209 GB, free: 468 kB / 0.7917 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.0002225/0.002729, allocations: 228.6 kB / 0.8211 GB, free: 216 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.002762, allocations: 12.03 kB / 0.8211 GB, free: 204 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.003025, allocations: 90.03 kB / 0.8212 GB, free: 96 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.901e-05/0.003094, allocations: 105.8 kB / 0.8213 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.003103, allocations: 384 / 0.8213 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.00312, allocations: 4.375 kB / 0.8213 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.017e-05/0.003191, allocations: 42.23 kB / 0.8213 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.003199, allocations: 8.125 kB / 0.8213 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.003205, allocations: 384 / 0.8213 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.003211, allocations: 3.938 kB / 0.8213 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.142e-05/0.003233, allocations: 4 kB / 0.8213 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.144e-05/0.003314, allocations: 61.03 kB / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.003434, allocations: 26.58 kB / 0.8214 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.336e-05/0.003447, allocations: 8.984 kB / 0.8214 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.003461, allocations: 4 kB / 0.8214 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.003481, allocations: 34.56 kB / 0.8215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.003482, allocations: 0 / 0.8215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0007373/0.004219, allocations: 254.1 kB / 0.8217 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.004248, allocations: 51.41 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.681e-05/0.004275, allocations: 93.8 kB / 0.8218 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.004289, allocations: 29.7 kB / 0.8219 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.795e-05/0.004307, allocations: 84.08 kB / 0.822 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.004342, allocations: 19.84 kB / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.004375, allocations: 13.72 kB / 0.822 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.205e-05/0.004447, allocations: 326.8 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.779e-05/0.004475, allocations: 4 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.755e-05/0.004513, allocations: 22.58 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.721e-05/0.00458, allocations: 38.5 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.004581, allocations: 4.188 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.827e-05/0.004669, allocations: 53.69 kB / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.004684, allocations: 11.98 kB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.00469, allocations: 4 kB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.004703, allocations: 0 / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.004839, allocations: 27.98 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.004843, allocations: 4 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.206e-05/0.004925, allocations: 31.95 kB / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.004933, allocations: 0 / 0.8225 GB, free: 14.6 MB / 0.8073 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.336e-05/0.004996, allocations: 109.8 kB / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.00501, allocations: 7.922 kB / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.005043, allocations: 15.66 kB / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005045, allocations: 0 / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.005046, allocations: 0 / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.00505, allocations: 3.938 kB / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.005277, allocations: 198.8 kB / 0.8228 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005278, allocations: 0 / 0.8228 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.005396, allocations: 36.39 kB / 0.8228 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-06/0.005402, allocations: 7.938 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.005403, allocations: 0 / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.005412, allocations: 3.938 kB / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.005413, allocations: 0 / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.005414, allocations: 0 / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.005526, allocations: 151.5 kB / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.00554, allocations: 0 / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.974e-05/0.005629, allocations: 24 kB / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.005641, allocations: 7.922 kB / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.005647, allocations: 0 / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.664e-06/0.005655, allocations: 4.859 kB / 0.823 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005655, allocations: 3.938 kB / 0.823 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001263/0.005781, allocations: 12 kB / 0.8231 GB, free: 13.97 MB / 0.8073 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.543e-05/0.005856, allocations: 80.36 kB / 0.8231 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.00596, allocations: 36.95 kB / 0.8232 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.005963, allocations: 0 / 0.8232 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.513e-05/0.006009, allocations: 29.12 kB / 0.8232 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.006121, allocations: 10.56 kB / 0.8232 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.006377, allocations: 124.6 kB / 0.8233 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.115e-05/0.006409, allocations: 59.34 kB / 0.8234 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.006511, allocations: 28 kB / 0.8234 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.558e-05/0.006597, allocations: 51.38 kB / 0.8235 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of SimCode: time 3.7e-07/0.006597, allocations: 0 / 0.8235 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.001941/0.008539, allocations: 0.8857 MB / 0.8243 GB, free: 12.62 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0995991649106145]