Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.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.0009697/0.0009697, 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.001021/0.001021, 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.8407/0.8407, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.748/1.748, allocations: 389 MB / 0.6338 GB, free: 12.7 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.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.868e-05, allocations: 2.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002574/0.002602, allocations: 1.773 MB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.003702, allocations: 0.6893 MB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.501e-05/0.003787, allocations: 3.938 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.281e-05/0.00383, allocations: 11.86 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.891e-05/0.003899, allocations: 15.81 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.00441, allocations: 194 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.004569, allocations: 123.6 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.004709, allocations: 33.61 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.004881, allocations: 95.72 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.173e-05/0.004953, allocations: 35.89 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.004979, allocations: 12 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.005231, allocations: 47.95 kB / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.005258, allocations: 31.89 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.005294, allocations: 43.84 kB / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.005497, allocations: 167.5 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.005499, allocations: 4 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.022e-06/0.0055, allocations: 0 / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.005505, allocations: 0 / 1.004 GB, free: 9.707 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004579/0.005963, allocations: 365.6 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.006002, allocations: 9.344 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004922/0.006494, allocations: 136.6 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.006699, allocations: 158.1 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.084e-05/0.00678, allocations: 111.4 kB / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.006796, allocations: 8.375 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.007128, allocations: 230.9 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.007136, allocations: 0 / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.007156, allocations: 8 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.00716, allocations: 0 / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.007457, allocations: 155.8 kB / 1.005 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.008074, allocations: 389.9 kB / 1.006 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.008553, allocations: 214.3 kB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.008698, allocations: 80.91 kB / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.008722, allocations: 0 / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.008743, allocations: 38.55 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.008744, allocations: 0 / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0005512/0.009295, allocations: 261.4 kB / 1.006 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.009324, allocations: 55.34 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.552e-05/0.009409, allocations: 149 kB / 1.006 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.009428, allocations: 25.7 kB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.00948, allocations: 120.1 kB / 1.006 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.009501, allocations: 19.78 kB / 1.007 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.009542, allocations: 29.7 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.492e-05/0.009617, allocations: 322.8 kB / 1.007 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.009767, allocations: 71.92 kB / 1.007 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.009925, allocations: 94.48 kB / 1.007 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.01022, allocations: 166.4 kB / 1.007 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01022, allocations: 0 / 1.007 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000341/0.01056, allocations: 205.7 kB / 1.007 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.01057, allocations: 4 kB / 1.007 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.01058, allocations: 8.062 kB / 1.007 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.01059, allocations: 3.938 kB / 1.007 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.01072, allocations: 43.95 kB / 1.007 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.01073, allocations: 160 / 1.007 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.01081, allocations: 23.95 kB / 1.007 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.01082, allocations: 4 kB / 1.007 GB, free: 6.043 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 (8): * Single equations (assignments): 8 * 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.865e-05/0.01089, allocations: 121.8 kB / 1.008 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.01091, allocations: 15.91 kB / 1.008 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003783/0.01129, allocations: 198.3 kB / 1.008 GB, free: 5.699 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.01129, allocations: 7.938 kB / 1.008 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.0113, allocations: 4 kB / 1.008 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.0113, allocations: 3.984 kB / 1.008 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.01143, allocations: 154.2 kB / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01144, allocations: 0 / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.293e-05/0.01153, allocations: 35.95 kB / 1.008 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01153, allocations: 0 / 1.008 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.01154, allocations: 4 kB / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.01154, allocations: 3.984 kB / 1.008 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01154, allocations: 3.938 kB / 1.008 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.01189, allocations: 287.3 kB / 1.008 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.0119, allocations: 11.89 kB / 1.008 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.01191, allocations: 0 / 1.008 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.01204, allocations: 27.95 kB / 1.008 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.01208, allocations: 19.92 kB / 1.008 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.01209, allocations: 7.984 kB / 1.008 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.869e-05/0.01214, allocations: 107.2 kB / 1.008 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01214, allocations: 0 / 1.008 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001638/0.0123, allocations: 23.95 kB / 1.008 GB, free: 4.965 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 (6): * Single equations (assignments): 6 * 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.637e-05/0.01238, allocations: 95.25 kB / 1.009 GB, free: 4.859 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003369/0.01271, allocations: 163.9 kB / 1.009 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01272, allocations: 0 / 1.009 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.01286, allocations: 84.05 kB / 1.009 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.01306, allocations: 19.81 kB / 1.009 GB, free: 4.598 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004131/0.01348, allocations: 287.2 kB / 1.009 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.653e-05/0.01353, allocations: 89.31 kB / 1.009 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.01359, allocations: 20.48 kB / 1.009 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.01359, allocations: 0 / 1.009 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of Templates: time 0.002335/0.01593, allocations: 1.687 MB / 1.011 GB, free: 2.48 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothBlocks.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.354910841211677]