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.0007785/0.0007785, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.001855, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006981/0.0006981, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009854/0.001683, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9825/0.9825, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09358/1.076, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.837/1.837, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4927/2.33, allocations: 123.3 MB / 0.7283 GB, free: 5.75 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.7297 GB, free: 4.418 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.091e-05, allocations: 9.281 kB / 0.7297 GB, free: 4.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.00245/0.002471, allocations: 1.87 MB / 0.7315 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009262/0.003397, allocations: 0.7251 MB / 0.7322 GB, free: 1.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.522e-05/0.003473, allocations: 4 kB / 0.7322 GB, free: 1.836 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.003502, allocations: 12.7 kB / 0.7322 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.673e-05/0.003549, allocations: 19.58 kB / 0.7322 GB, free: 1.812 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.003917, allocations: 178.8 kB / 0.7324 GB, free: 1.641 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.004084, allocations: 130.2 kB / 0.7325 GB, free: 1.52 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.004199, allocations: 42.2 kB / 0.7326 GB, free: 1.473 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.004374, allocations: 104.6 kB / 0.7327 GB, free: 1.371 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.896e-05/0.004453, allocations: 31.89 kB / 0.7327 GB, free: 1.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.004476, allocations: 8.812 kB / 0.7327 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.004593, allocations: 59.89 kB / 0.7328 GB, free: 1.273 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.004618, allocations: 17.34 kB / 0.7328 GB, free: 1.258 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.004651, allocations: 27.94 kB / 0.7328 GB, free: 1.23 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.004844, allocations: 115.6 kB / 0.7329 GB, free: 1.117 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.294e-05/0.004857, allocations: 0 / 0.7329 GB, free: 1.117 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004858, allocations: 0.5312 kB / 0.7329 GB, free: 1.117 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.004869, allocations: 1.406 kB / 0.7329 GB, free: 1.117 MB / 0.698 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.0004487/0.005318, allocations: 359.9 kB / 0.7333 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.005353, allocations: 15.97 kB / 0.7333 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000455/0.005808, allocations: 181.1 kB / 0.7335 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.005981, allocations: 154.2 kB / 0.7336 GB, free: 368 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.274e-05/0.006044, allocations: 111.4 kB / 0.7337 GB, free: 232 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.006065, allocations: 13.03 kB / 0.7337 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.006275, allocations: 187.3 kB / 0.7339 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.006282, allocations: 0 / 0.7339 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.006295, allocations: 5.562 kB / 0.7339 GB, free: 8 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.006301, allocations: 7.938 kB / 0.7339 GB, free: 0 / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.006578, allocations: 32.83 kB / 0.7339 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.007016, allocations: 281.7 kB / 0.7342 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.007248, allocations: 116.6 kB / 0.7343 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.007278, allocations: 24.84 kB / 0.7343 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.007299, allocations: 4 kB / 0.7344 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.00732, allocations: 35.94 kB / 0.7344 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.007322, allocations: 0 / 0.7344 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001698/0.007491, allocations: 86.45 kB / 0.7345 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.007514, allocations: 51.41 kB / 0.7345 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.573e-05/0.007599, allocations: 153.2 kB / 0.7347 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.007618, allocations: 30.23 kB / 0.7347 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.007667, allocations: 105.2 kB / 0.7348 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.007691, allocations: 19.86 kB / 0.7348 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.00773, allocations: 25.69 kB / 0.7348 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.736e-05/0.007818, allocations: 323.8 kB / 0.7351 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.808e-05/0.007846, allocations: 12 kB / 0.7352 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-05/0.007885, allocations: 47.75 kB / 0.7352 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.72e-05/0.007952, allocations: 52.09 kB / 0.7353 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.007954, allocations: 0 / 0.7353 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.629e-05/0.008051, allocations: 81.61 kB / 0.7353 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.008064, allocations: 7.469 kB / 0.7353 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.00807, allocations: 4 kB / 0.7353 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.008083, allocations: 0.75 kB / 0.7353 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.008214, allocations: 32.7 kB / 0.7354 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.008218, allocations: 7.875 kB / 0.7354 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.008272, allocations: 26.17 kB / 0.7354 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.008284, allocations: 7.984 kB / 0.7354 GB, free: 14.37 MB / 0.7136 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 7.321e-05/0.008358, allocations: 109.8 kB / 0.7355 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.008379, allocations: 4 kB / 0.7355 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.008517, allocations: 91.77 kB / 0.7356 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.008519, allocations: 1.25 kB / 0.7356 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.008521, allocations: 3.938 kB / 0.7356 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.008525, allocations: 0 / 0.7356 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.00864, allocations: 113.1 kB / 0.7357 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.008641, allocations: 0 / 0.7357 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.108e-05/0.008733, allocations: 27.91 kB / 0.7357 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.008744, allocations: 15.89 kB / 0.7358 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.008746, allocations: 0 / 0.7358 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.008754, allocations: 3.984 kB / 0.7358 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.008755, allocations: 0 / 0.7358 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008756, allocations: 0 / 0.7358 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.008871, allocations: 174.5 kB / 0.7359 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.008884, allocations: 0 / 0.7359 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.008967, allocations: 11.98 kB / 0.7359 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.008995, allocations: 7.984 kB / 0.736 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.009006, allocations: 3.984 kB / 0.736 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.852e-05/0.009034, allocations: 38.64 kB / 0.736 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.009034, allocations: 3.938 kB / 0.736 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001361/0.00917, allocations: 24.59 kB / 0.736 GB, free: 13.7 MB / 0.7136 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.0001086/0.009279, allocations: 85.59 kB / 0.7361 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.925e-05/0.009378, allocations: 55.22 kB / 0.7362 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.009385, allocations: 3.984 kB / 0.7362 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.405e-05/0.009429, allocations: 36.84 kB / 0.7362 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.009625, allocations: 79.88 kB / 0.7363 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007915/0.01042, allocations: 224 kB / 0.7365 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.552e-05/0.01045, allocations: 63.34 kB / 0.7365 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.911e-05/0.01051, allocations: 13.95 kB / 0.7366 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.01067, allocations: 83.3 kB / 0.7366 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/0.01067, allocations: 1.5 kB / 0.7366 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of Templates: time 0.003283/0.01395, allocations: 1.719 MB / 0.7383 GB, free: 11.36 MB / 0.7136 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.886926651000977]