Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001703/0.001703, allocations: 116.4 kB / 17.13 MB, free: 5.734 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.002011/0.002011, allocations: 207.3 kB / 20.1 MB, free: 2.934 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.503/1.503, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.962/2.962, allocations: 0.49 GB / 0.7923 GB, free: 1.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_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.002017/0.002017, allocations: 67.89 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.039, allocations: 176.1 MB / 1.322 GB, free: 25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002819/1.042, allocations: 1.8 MB / 1.324 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001074/1.043, allocations: 0.7323 MB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.829e-05/1.043, allocations: 3.062 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.124e-05/1.043, allocations: 15.16 kB / 1.324 GB, free: 23.22 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.928e-05/1.043, allocations: 18.7 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/1.044, allocations: 180.8 kB / 1.325 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001638/1.044, allocations: 136.7 kB / 1.325 GB, free: 23.06 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/1.044, allocations: 35.25 kB / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/1.044, allocations: 67.66 kB / 1.325 GB, free: 23.01 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.243e-05/1.044, allocations: 56.48 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/1.044, allocations: 9.156 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/1.044, allocations: 53.36 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.201e-05/1.044, allocations: 32.59 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.712e-05/1.044, allocations: 53.59 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/1.045, allocations: 161.2 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/1.045, allocations: 0 / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.272e-06/1.045, allocations: 4 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.51e-06/1.045, allocations: 0 / 1.325 GB, free: 22.84 MB / 1.061 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.0005379/1.045, allocations: 447.2 kB / 1.326 GB, free: 22.43 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/1.045, allocations: 12.27 kB / 1.326 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/1.046, allocations: 130.1 kB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/1.046, allocations: 212.2 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.341e-05/1.047, allocations: 66.89 kB / 1.326 GB, free: 22.13 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/1.047, allocations: 9.125 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/1.047, allocations: 177.7 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.047, allocations: 0 / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/1.047, allocations: 2.562 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/1.047, allocations: 4 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000598/1.048, allocations: 162.5 kB / 1.326 GB, free: 22.01 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/1.049, allocations: 491.5 kB / 1.327 GB, free: 21.65 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/1.05, allocations: 218 kB / 1.327 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/1.05, allocations: 82.72 kB / 1.327 GB, free: 21.56 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/1.05, allocations: 1.25 kB / 1.327 GB, free: 21.56 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/1.05, allocations: 35.78 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/1.05, allocations: 0 / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.001155/1.051, allocations: 264.5 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/1.051, allocations: 56.66 kB / 1.327 GB, free: 21.37 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/1.051, allocations: 148.4 kB / 1.328 GB, free: 21.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/1.052, allocations: 26.27 kB / 1.328 GB, free: 21.21 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/1.052, allocations: 110.2 kB / 1.328 GB, free: 21.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/1.052, allocations: 21.69 kB / 1.328 GB, free: 21.1 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/1.052, allocations: 27.11 kB / 1.328 GB, free: 21.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.982e-05/1.052, allocations: 320.7 kB / 1.328 GB, free: 20.76 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/1.052, allocations: 69.8 kB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/1.052, allocations: 94.45 kB / 1.328 GB, free: 20.7 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006421/1.053, allocations: 166 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.053, allocations: 0 / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007419/1.054, allocations: 207.2 kB / 1.329 GB, free: 20.56 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/1.054, allocations: 8.5 kB / 1.329 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.054, allocations: 0.9375 kB / 1.329 GB, free: 20.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/1.054, allocations: 6 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/1.054, allocations: 35.36 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/1.054, allocations: 1.438 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/1.054, allocations: 29.92 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/1.054, allocations: 2.844 kB / 1.329 GB, free: 20.55 MB / 1.061 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 9.739e-05/1.054, allocations: 118.6 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/1.055, allocations: 21.27 kB / 1.329 GB, free: 20.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008507/1.055, allocations: 200 kB / 1.329 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.055, allocations: 1.312 kB / 1.329 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.055, allocations: 8.062 kB / 1.329 GB, free: 20.33 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.055, allocations: 0.6562 kB / 1.329 GB, free: 20.33 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/1.056, allocations: 233.9 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/1.056, allocations: 1.484 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/1.056, allocations: 34.86 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/1.056, allocations: 1.578 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/1.056, allocations: 1.594 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.056, allocations: 1.062 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.056, allocations: 0.5938 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007893/1.057, allocations: 294.9 kB / 1.33 GB, free: 19.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/1.057, allocations: 88.23 kB / 1.33 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/1.057, allocations: 1.297 kB / 1.33 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/1.057, allocations: 36.73 kB / 1.33 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/1.057, allocations: 4.703 kB / 1.33 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/1.057, allocations: 7.375 kB / 1.33 GB, free: 19.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.429e-05/1.057, allocations: 108.3 kB / 1.33 GB, free: 19.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.057, allocations: 0 / 1.33 GB, free: 19.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002941/1.058, allocations: 28 kB / 1.33 GB, free: 19.73 MB / 1.061 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.0001538/1.058, allocations: 102.1 kB / 1.33 GB, free: 19.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007992/1.059, allocations: 157.8 kB / 1.33 GB, free: 19.61 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.059, allocations: 4.531 kB / 1.33 GB, free: 19.6 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003709/1.059, allocations: 79.22 kB / 1.33 GB, free: 19.59 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/1.059, allocations: 16.41 kB / 1.33 GB, free: 19.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000815/1.06, allocations: 293.6 kB / 1.33 GB, free: 19.36 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/1.06, allocations: 0.704 MB / 1.331 GB, free: 18.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.991e-05/1.06, allocations: 16.38 kB / 1.331 GB, free: 18.66 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/1.06, allocations: 0 / 1.331 GB, free: 18.66 MB / 1.061 GB Notification: Performance of Templates: time 0.004713/1.065, allocations: 1.653 MB / 1.333 GB, free: 18.52 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.784132790009608]