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.0008981/0.0008981, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.000916/0.000916, allocations: 169 kB / 23.02 MB, free: 1.547 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.9321/0.9321, allocations: 177.1 MB / 203.4 MB, free: 5.629 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 2.184/2.184, allocations: 429.5 MB / 0.6732 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.794e-06/1.794e-06, allocations: 0 / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.726e-05, allocations: 9.359 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001135/0.001162, allocations: 0.6193 MB / 0.8788 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.002437, allocations: 1.167 MB / 0.88 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.002465, allocations: 0 / 0.88 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.002487, allocations: 5.281 kB / 0.88 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.002729, allocations: 28.44 kB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.035e-06/0.002732, allocations: 0 / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.1e-05/0.002773, allocations: 5.094 kB / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.002819, allocations: 0 / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.427e-05/0.002843, allocations: 0 / 0.88 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.307e-05/0.002866, allocations: 5.281 kB / 0.88 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.002876, allocations: 0 / 0.88 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.00298, allocations: 19.92 kB / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.002992, allocations: 3.984 kB / 0.88 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.176e-05/0.003003, allocations: 0.9688 kB / 0.88 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.732e-05/0.003081, allocations: 11.98 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.003084, allocations: 7.438 kB / 0.8801 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003085, allocations: 0 / 0.8801 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.003088, allocations: 0 / 0.8801 GB, free: 4.426 MB / 0.8386 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.0002291/0.003317, allocations: 340.4 kB / 0.8804 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.003352, allocations: 8.031 kB / 0.8804 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.003557, allocations: 21.2 kB / 0.8804 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.603e-05/0.003613, allocations: 112.6 kB / 0.8805 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.003624, allocations: 384 / 0.8805 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.003648, allocations: 4.328 kB / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.44e-05/0.003732, allocations: 38.84 kB / 0.8806 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.003746, allocations: 192 / 0.8806 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.003756, allocations: 1.906 kB / 0.8806 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.003766, allocations: 7.922 kB / 0.8806 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.811e-05/0.003794, allocations: 8 kB / 0.8806 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001052/0.003899, allocations: 108.6 kB / 0.8807 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.004045, allocations: 47.03 kB / 0.8807 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.004063, allocations: 11.69 kB / 0.8807 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.004082, allocations: 0 / 0.8807 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.004105, allocations: 45.45 kB / 0.8808 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.004106, allocations: 0 / 0.8808 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0009318/0.005038, allocations: 246.1 kB / 0.881 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.005061, allocations: 51.41 kB / 0.8811 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.529e-05/0.005097, allocations: 150.2 kB / 0.8812 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.00511, allocations: 25.7 kB / 0.8812 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.696e-05/0.005137, allocations: 130.9 kB / 0.8813 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.005171, allocations: 15.86 kB / 0.8814 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.005213, allocations: 23.38 kB / 0.8814 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.005317, allocations: 0.4884 MB / 0.8819 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.151e-05/0.005359, allocations: 4 kB / 0.8819 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-05/0.005409, allocations: 38.98 kB / 0.8819 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.552e-05/0.005494, allocations: 47.06 kB / 0.8819 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005496, allocations: 4.188 kB / 0.882 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001292/0.005626, allocations: 65.62 kB / 0.882 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.00564, allocations: 6.344 kB / 0.882 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005644, allocations: 0 / 0.882 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.005658, allocations: 0 / 0.882 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.005806, allocations: 43.94 kB / 0.8821 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.005811, allocations: 4 kB / 0.8821 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.905e-05/0.0059, allocations: 16 kB / 0.8821 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.005912, allocations: 7.984 kB / 0.8821 GB, free: 2.117 MB / 0.8386 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.3e-05/0.005975, allocations: 160.6 kB / 0.8822 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.00599, allocations: 7.938 kB / 0.8823 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.006028, allocations: 11.66 kB / 0.8823 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.00603, allocations: 0 / 0.8823 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.006034, allocations: 3.938 kB / 0.8823 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.006037, allocations: 0 / 0.8823 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.006346, allocations: 305.4 kB / 0.8826 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006347, allocations: 0 / 0.8826 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.006467, allocations: 31.97 kB / 0.8826 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.006472, allocations: 7.938 kB / 0.8826 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.006483, allocations: 0 / 0.8826 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.006485, allocations: 4 kB / 0.8826 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006485, allocations: 0 / 0.8826 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.006639, allocations: 207.8 kB / 0.8828 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-06/0.006644, allocations: 8 kB / 0.8828 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.00666, allocations: 7.922 kB / 0.8828 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.006763, allocations: 20 kB / 0.8828 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.006777, allocations: 3.984 kB / 0.8828 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.006784, allocations: 4 kB / 0.8828 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.615e-05/0.00681, allocations: 123.2 kB / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00681, allocations: 0 / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001517/0.006961, allocations: 8 kB / 0.883 GB, free: 1.148 MB / 0.8386 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.174e-05/0.007033, allocations: 95.25 kB / 0.8831 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.007172, allocations: 39.73 kB / 0.8831 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.007173, allocations: 0 / 0.8831 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.428e-05/0.007217, allocations: 27.67 kB / 0.8831 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.007367, allocations: 6.062 kB / 0.8831 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.007677, allocations: 130.3 kB / 0.8833 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.165e-05/0.007709, allocations: 55.36 kB / 0.8833 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.007814, allocations: 35.98 kB / 0.8833 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.007872, allocations: 12.5 kB / 0.8833 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of SimCode: time 6.91e-07/0.007873, allocations: 0 / 0.8833 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of Templates: time 0.002085/0.009958, allocations: 0.8326 MB / 0.8842 GB, free: 15.87 MB / 0.8542 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.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.540992067661136]