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.001863/0.001863, allocations: 78.09 kB / 19.76 MB, free: 2.031 MB / 14.72 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.002262/0.002262, allocations: 156.7 kB / 23.01 MB, free: 4.945 MB / 14.72 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.426/1.426, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] 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.854/2.854, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 71.88 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7976/0.7998, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002458/0.8022, allocations: 1.776 MB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.8033, allocations: 0.6876 MB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.8033, allocations: 6.281 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/0.8034, allocations: 10.59 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.392e-05/0.8034, allocations: 19.39 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.804, allocations: 190.8 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.8041, allocations: 122.6 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.8042, allocations: 36.12 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.8044, allocations: 68.67 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.71e-05/0.8044, allocations: 43.42 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.8045, allocations: 10.16 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.8046, allocations: 47.39 kB / 1.19 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.691e-05/0.8046, allocations: 31.77 kB / 1.19 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.484e-05/0.8047, allocations: 52.25 kB / 1.19 GB, free: 14.27 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.8049, allocations: 155.3 kB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.8049, allocations: 1.125 kB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8049, allocations: 0 / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.8049, allocations: 0.8438 kB / 1.19 GB, free: 14.21 MB / 1.076 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.0004957/0.8054, allocations: 370.5 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.8054, allocations: 9.312 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.8064, allocations: 134.6 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.8067, allocations: 157.8 kB / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.161e-05/0.8067, allocations: 111.2 kB / 1.191 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.8068, allocations: 18.64 kB / 1.191 GB, free: 13.58 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.8073, allocations: 220.8 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.8073, allocations: 0.7031 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.8073, allocations: 5.094 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.8073, allocations: 2.281 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006313/0.808, allocations: 163.3 kB / 1.191 GB, free: 13.41 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000974/0.8089, allocations: 404.5 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.81, allocations: 212.8 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.8103, allocations: 78.03 kB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.8103, allocations: 2.875 kB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.8103, allocations: 37.33 kB / 1.192 GB, free: 13 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.8103, allocations: 4 kB / 1.192 GB, free: 13 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.001092/0.8114, allocations: 262.3 kB / 1.192 GB, free: 12.91 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.8114, allocations: 57.53 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.331e-05/0.8115, allocations: 140 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.8115, allocations: 27.38 kB / 1.192 GB, free: 12.7 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.8116, allocations: 114.5 kB / 1.192 GB, free: 12.59 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.8116, allocations: 15.19 kB / 1.192 GB, free: 12.58 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.8117, allocations: 28.41 kB / 1.192 GB, free: 12.56 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.932e-05/0.8117, allocations: 320.8 kB / 1.193 GB, free: 12.24 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.812, allocations: 77.89 kB / 1.193 GB, free: 12.22 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.8123, allocations: 98.08 kB / 1.193 GB, free: 12.18 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.8129, allocations: 164.9 kB / 1.193 GB, free: 12.12 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8129, allocations: 0 / 1.193 GB, free: 12.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000674/0.8136, allocations: 206.8 kB / 1.193 GB, free: 12.04 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.8136, allocations: 5.406 kB / 1.193 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.8136, allocations: 1.875 kB / 1.193 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.8136, allocations: 5.125 kB / 1.193 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.8139, allocations: 38.83 kB / 1.193 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.8139, allocations: 2.281 kB / 1.193 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.8141, allocations: 28.98 kB / 1.193 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.8141, allocations: 3.969 kB / 1.193 GB, free: 12.02 MB / 1.076 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.959e-05/0.8142, allocations: 119.7 kB / 1.193 GB, free: 11.9 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.8142, allocations: 12.36 kB / 1.193 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007573/0.815, allocations: 205.1 kB / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.815, allocations: 1.125 kB / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.815, allocations: 0 / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.815, allocations: 4.75 kB / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.8152, allocations: 155.9 kB / 1.194 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8152, allocations: 0 / 1.194 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.8154, allocations: 36.47 kB / 1.194 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.8154, allocations: 8.594 kB / 1.194 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.8154, allocations: 1.875 kB / 1.194 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.8154, allocations: 1.562 kB / 1.194 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8154, allocations: 0 / 1.194 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006781/0.8161, allocations: 288 kB / 1.194 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.8161, allocations: 8.031 kB / 1.194 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.8161, allocations: 4.547 kB / 1.194 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.8165, allocations: 29.64 kB / 1.194 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.8165, allocations: 8.594 kB / 1.194 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.8165, allocations: 10.77 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.159e-05/0.8166, allocations: 109.2 kB / 1.194 GB, free: 11.39 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8166, allocations: 0 / 1.194 GB, free: 11.39 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002896/0.8169, allocations: 28.36 kB / 1.194 GB, free: 11.38 MB / 1.076 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 8.882e-05/0.8169, allocations: 101.5 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006907/0.8176, allocations: 158.5 kB / 1.194 GB, free: 11.26 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8176, allocations: 1.312 kB / 1.194 GB, free: 11.26 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.818, allocations: 87.47 kB / 1.194 GB, free: 11.23 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.8182, allocations: 11.97 kB / 1.194 GB, free: 11.23 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006711/0.8189, allocations: 265.3 kB / 1.195 GB, free: 11.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.897e-05/0.819, allocations: 94.53 kB / 1.195 GB, free: 10.96 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.436e-05/0.819, allocations: 16.31 kB / 1.195 GB, free: 10.96 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.8191, allocations: 15.02 kB / 1.195 GB, free: 10.95 MB / 1.076 GB Notification: Performance of SimCode: time 3.8e-07/0.8191, allocations: 0 / 1.195 GB, free: 10.95 MB / 1.076 GB Notification: Performance of Templates: time 0.004067/0.8232, allocations: 1.556 MB / 1.196 GB, free: 10.76 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 8.525828722980805]