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.00146/0.00146, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.00174/0.00174, allocations: 213.4 kB / 23 MB, free: 4.977 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 3.521/3.521, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.002163/0.002163, allocations: 69.03 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4096, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003953/0.4135, allocations: 1.771 MB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.4151, allocations: 0.6897 MB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.4152, allocations: 3.938 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.614e-05/0.4153, allocations: 23.8 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.491e-05/0.4153, allocations: 15.8 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000766/0.4161, allocations: 187.4 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.4164, allocations: 131.6 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.4165, allocations: 41.55 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.4167, allocations: 63.83 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.617e-05/0.4168, allocations: 47.78 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.4169, allocations: 15.98 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.417, allocations: 47.95 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.417, allocations: 31.86 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.4171, allocations: 47.77 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.4173, allocations: 155.4 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4173, allocations: 4 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4173, allocations: 4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.4173, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 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.0007083/0.4181, allocations: 357.7 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.4181, allocations: 12.02 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.4192, allocations: 132.7 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.4195, allocations: 159.8 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.4197, allocations: 115.4 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.4197, allocations: 15.94 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006228/0.4203, allocations: 220.8 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4203, allocations: 4 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.4204, allocations: 8 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.4204, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006053/0.421, allocations: 147.8 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.4222, allocations: 413.5 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.4232, allocations: 210.3 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.4235, allocations: 84.89 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.4236, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/0.4236, allocations: 38.5 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.4236, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.001095/0.4247, allocations: 265.3 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.4248, allocations: 51.41 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.425, allocations: 147.7 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.425, allocations: 29.7 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.4251, allocations: 116.2 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.4252, allocations: 19.84 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-05/0.4252, allocations: 25.7 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002487/0.4255, allocations: 318.8 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.4258, allocations: 71.91 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.4261, allocations: 98.44 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006207/0.4268, allocations: 162.7 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4268, allocations: 3.984 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007051/0.4275, allocations: 201.4 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.4275, allocations: 11.94 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.4275, allocations: 3.984 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.4275, allocations: 0 / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.4278, allocations: 43.95 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.4278, allocations: 0 / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.4281, allocations: 27.86 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.4281, allocations: 4 kB / 1.334 GB, free: 10.06 MB / 1.029 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.0001638/0.4283, allocations: 121.8 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/0.4283, allocations: 11.89 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008037/0.4291, allocations: 210.2 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4291, allocations: 0 / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4291, allocations: 0 / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.4292, allocations: 11.89 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.4292, allocations: 0 / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.4295, allocations: 31.95 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.4296, allocations: 11.98 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008404/0.4304, allocations: 280.8 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007522/0.4312, allocations: 362.5 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002881/0.4315, allocations: 72.17 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.715e-05/0.4316, allocations: 117.1 kB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of Backend: time 3.41e-07/0.4316, allocations: 0 / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008017/0.4324, allocations: 180.1 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008046/0.4332, allocations: 0.649 MB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of Templates: time 0.006442/0.4396, allocations: 2.647 MB / 1.338 GB, free: 5.309 MB / 1.029 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=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: 9.587089180997282]