Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007863/0.0007863, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001164/0.00195, allocations: 449.7 kB / 10.37 MB, free: 328 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.0008065/0.0008065, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001055/0.001861, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 1.037/1.037, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1356/1.173, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.972/1.972, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.52/2.492, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.7294 GB, free: 4.484 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.003e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001464/0.001494, allocations: 0.6649 MB / 0.73 GB, free: 3.84 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.002795, allocations: 1.17 MB / 0.7312 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.331e-05/0.002828, allocations: 0 / 0.7312 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.827e-06/0.002837, allocations: 0.6875 kB / 0.7312 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.003031, allocations: 23.42 kB / 0.7312 GB, free: 2.645 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.778e-06/0.003034, allocations: 0 / 0.7312 GB, free: 2.645 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.145e-05/0.003086, allocations: 1.094 kB / 0.7312 GB, free: 2.645 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.753e-05/0.003143, allocations: 7.984 kB / 0.7312 GB, free: 2.637 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.168e-05/0.003185, allocations: 5.734 kB / 0.7312 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.585e-05/0.003221, allocations: 4.766 kB / 0.7312 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.003233, allocations: 2.125 kB / 0.7312 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.003377, allocations: 21.45 kB / 0.7312 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.003388, allocations: 0.875 kB / 0.7312 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.633e-05/0.003404, allocations: 4.547 kB / 0.7312 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.003516, allocations: 9.094 kB / 0.7313 GB, free: 2.598 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.34e-05/0.003539, allocations: 0.5 kB / 0.7313 GB, free: 2.598 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/0.003541, allocations: 0 / 0.7313 GB, free: 2.598 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.804e-05/0.003559, allocations: 0.6875 kB / 0.7313 GB, free: 2.598 MB / 0.698 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.0002892/0.003848, allocations: 226 kB / 0.7315 GB, free: 2.355 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.003886, allocations: 9.75 kB / 0.7315 GB, free: 2.348 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.003938, allocations: 8.938 kB / 0.7315 GB, free: 2.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.963e-05/0.004028, allocations: 105.8 kB / 0.7316 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.00404, allocations: 384 / 0.7316 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.00408, allocations: 5.188 kB / 0.7316 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.004197, allocations: 26.27 kB / 0.7316 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.004211, allocations: 4.688 kB / 0.7316 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.004221, allocations: 8.297 kB / 0.7316 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.004228, allocations: 8.547 kB / 0.7316 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.00427, allocations: 4.688 kB / 0.7316 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.004397, allocations: 61.05 kB / 0.7317 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.004626, allocations: 29.02 kB / 0.7317 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.004646, allocations: 8.859 kB / 0.7317 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/0.004807, allocations: 4 kB / 0.7317 GB, free: 2.027 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.004837, allocations: 34.64 kB / 0.7318 GB, free: 1.984 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.004838, allocations: 0.5938 kB / 0.7318 GB, free: 1.984 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.001104/0.005942, allocations: 341.8 kB / 0.7321 GB, free: 1.641 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.005978, allocations: 60.09 kB / 0.7322 GB, free: 1.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.277e-05/0.006011, allocations: 95.55 kB / 0.7322 GB, free: 1.469 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.006027, allocations: 25.7 kB / 0.7323 GB, free: 1.438 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.568e-05/0.006053, allocations: 84.12 kB / 0.7324 GB, free: 1.352 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.006098, allocations: 15.86 kB / 0.7324 GB, free: 1.336 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.006137, allocations: 18.94 kB / 0.7324 GB, free: 1.312 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.472e-05/0.006222, allocations: 314.8 kB / 0.7327 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.221e-05/0.006254, allocations: 6.172 kB / 0.7327 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.095e-05/0.006295, allocations: 28.31 kB / 0.7327 GB, free: 0.957 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.324e-05/0.006368, allocations: 40.09 kB / 0.7328 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.00637, allocations: 0 / 0.7328 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001043/0.006475, allocations: 56.64 kB / 0.7328 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.006492, allocations: 8 kB / 0.7328 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.006501, allocations: 6.734 kB / 0.7328 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.006512, allocations: 0.7656 kB / 0.7328 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.006659, allocations: 27.98 kB / 0.7329 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.006663, allocations: 6.594 kB / 0.7329 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.449e-05/0.006737, allocations: 23.92 kB / 0.7329 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.006745, allocations: 2.312 kB / 0.7329 GB, free: 0.7891 MB / 0.698 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 7.56e-05/0.00682, allocations: 113.8 kB / 0.733 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.006834, allocations: 3.984 kB / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.006998, allocations: 83.23 kB / 0.7331 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.007, allocations: 0 / 0.7331 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.007002, allocations: 4 kB / 0.7331 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.007007, allocations: 3.938 kB / 0.7331 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.007251, allocations: 197.2 kB / 0.7333 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.007254, allocations: 0 / 0.7333 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.007377, allocations: 38.67 kB / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.007384, allocations: 2.625 kB / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.007387, allocations: 0 / 0.7333 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.007396, allocations: 3.938 kB / 0.7333 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.007397, allocations: 0 / 0.7333 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.007399, allocations: 0 / 0.7333 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.007517, allocations: 146.3 kB / 0.7335 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.007531, allocations: 0.9844 kB / 0.7335 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.433e-05/0.007615, allocations: 18.44 kB / 0.7335 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.007633, allocations: 16.28 kB / 0.7335 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.007639, allocations: 0.625 kB / 0.7335 GB, free: 140 kB / 0.698 GB Notification: Performance of sorting global known variables: time 7.144e-06/0.007646, allocations: 4.859 kB / 0.7335 GB, free: 132 kB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.007646, allocations: 0.6875 kB / 0.7335 GB, free: 132 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001542/0.0078, allocations: 20.59 kB / 0.7335 GB, free: 112 kB / 0.698 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.0002221/0.008022, allocations: 84.91 kB / 0.7336 GB, free: 16 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001579/0.00818, allocations: 25.84 kB / 0.7336 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.008186, allocations: 11.88 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.218e-05/0.008218, allocations: 14.98 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.008334, allocations: 9.141 kB / 0.7337 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.008642, allocations: 115.6 kB / 0.7338 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.451e-05/0.008686, allocations: 60.44 kB / 0.7338 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.008803, allocations: 26.41 kB / 0.7338 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.092e-05/0.008884, allocations: 52.25 kB / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of SimCode: time 2.004e-06/0.008886, allocations: 0 / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of Templates: time 0.002743/0.01163, allocations: 0.9312 MB / 0.7348 GB, free: 14.8 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.160831825807691]