Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00196/0.00196, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002717/0.002717, allocations: 220 kB / 22.24 MB, free: 5.109 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.823/2.823, allocations: 476 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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_11_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_11_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.002071/0.002071, allocations: 72.48 kB / 1.117 GB, free: 41.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3053, allocations: 169.9 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003505/0.3088, allocations: 1.772 MB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.3102, allocations: 0.6875 MB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.46e-05/0.3103, allocations: 0 / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.444e-05/0.3103, allocations: 15.81 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.414e-05/0.3104, allocations: 19.73 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000678/0.3111, allocations: 183.1 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.3113, allocations: 119.7 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.3115, allocations: 45.52 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.3116, allocations: 71.77 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.007e-05/0.3117, allocations: 39.77 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.3117, allocations: 12 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.3119, allocations: 51.97 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.287e-05/0.3119, allocations: 39.84 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.484e-05/0.312, allocations: 47.77 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.3122, allocations: 147.4 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3122, allocations: 4 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3122, allocations: 0 / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.3123, allocations: 0 / 1.286 GB, free: 8.719 MB / 0.9825 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.0006411/0.3129, allocations: 365.7 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3129, allocations: 12.03 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.3139, allocations: 128.6 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.3143, allocations: 158.8 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.3145, allocations: 119.4 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.3145, allocations: 11.94 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006149/0.3151, allocations: 220.8 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3151, allocations: 3.938 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.3152, allocations: 8 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3152, allocations: 0 / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006369/0.3158, allocations: 163.8 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.3169, allocations: 401.4 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.318, allocations: 218.3 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.3183, allocations: 76.91 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.3183, allocations: 4 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.3183, allocations: 34.56 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3183, allocations: 0 / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.001089/0.3194, allocations: 269.3 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.3195, allocations: 55.41 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.3196, allocations: 137.6 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.3196, allocations: 33.69 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/0.3197, allocations: 112.2 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.3197, allocations: 19.86 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.3198, allocations: 21.7 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.32, allocations: 322.8 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.3203, allocations: 75.92 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.3206, allocations: 98.47 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/0.3213, allocations: 162.6 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3213, allocations: 0 / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007102/0.322, allocations: 209.4 kB / 1.289 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.322, allocations: 12.06 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.322, allocations: 0 / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.322, allocations: 0 / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.3223, allocations: 35.95 kB / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3223, allocations: 0 / 1.29 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.3225, allocations: 23.91 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.3225, allocations: 15.92 kB / 1.29 GB, free: 5.035 MB / 0.9825 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 0.0001117/0.3226, allocations: 117.8 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.3227, allocations: 15.84 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007636/0.3234, allocations: 202.2 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3234, allocations: 4 kB / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3235, allocations: 0 / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3235, allocations: 0 / 1.29 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.3237, allocations: 162 kB / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3237, allocations: 0 / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.3239, allocations: 35.89 kB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3239, allocations: 3.938 kB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.324, allocations: 3.984 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.324, allocations: 0 / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.324, allocations: 3.938 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007354/0.3247, allocations: 283.4 kB / 1.29 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.3247, allocations: 11.91 kB / 1.29 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.3247, allocations: 7.938 kB / 1.29 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.3251, allocations: 36.14 kB / 1.29 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.3251, allocations: 7.984 kB / 1.29 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.3251, allocations: 7.984 kB / 1.29 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.393e-05/0.3252, allocations: 107.3 kB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3252, allocations: 0 / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002718/0.3255, allocations: 23.94 kB / 1.291 GB, free: 3.961 MB / 0.9825 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 0.0001505/0.3256, allocations: 103.2 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007027/0.3263, allocations: 159.8 kB / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3263, allocations: 0 / 1.291 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003281/0.3267, allocations: 79.84 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.327, allocations: 13.97 kB / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007507/0.3277, allocations: 269.5 kB / 1.291 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.142e-05/0.3278, allocations: 85.19 kB / 1.291 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.79e-05/0.3279, allocations: 16 kB / 1.291 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.328, allocations: 15.42 kB / 1.291 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.328, allocations: 0 / 1.291 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of Templates: time 0.004736/0.3327, allocations: 1.619 MB / 1.293 GB, free: 1.582 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.946187399327755]