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.001383/0.001383, allocations: 78.48 kB / 19.18 MB, free: 2.527 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.001579/0.001579, allocations: 168.5 kB / 22.46 MB, free: 5.359 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.457/1.457, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.914/2.914, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.594e-05, allocations: 2.281 kB / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003215/0.003241, allocations: 1.767 MB / 1.002 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.004673, allocations: 0.6892 MB / 1.003 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.157e-05/0.004764, allocations: 0 / 1.003 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.091e-05/0.004815, allocations: 15.8 kB / 1.003 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.74e-05/0.004903, allocations: 15.81 kB / 1.003 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006627/0.005565, allocations: 199 kB / 1.003 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000221/0.005786, allocations: 127.6 kB / 1.003 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.005933, allocations: 37.59 kB / 1.003 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.006162, allocations: 95.72 kB / 1.003 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.929e-05/0.006251, allocations: 27.91 kB / 1.003 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.006288, allocations: 16 kB / 1.003 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.006425, allocations: 51.89 kB / 1.003 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.006472, allocations: 35.89 kB / 1.003 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.006534, allocations: 35.89 kB / 1.003 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002991/0.006833, allocations: 167.5 kB / 1.003 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.006837, allocations: 4 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.273e-06/0.006838, allocations: 0 / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.006844, allocations: 0 / 1.003 GB, free: 3.969 MB / 0.9512 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.0006656/0.007509, allocations: 365.7 kB / 1.004 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.007548, allocations: 12.03 kB / 1.004 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.008628, allocations: 132.6 kB / 1.004 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.008934, allocations: 158.1 kB / 1.004 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.00907, allocations: 111.4 kB / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.009095, allocations: 12.38 kB / 1.004 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006144/0.00971, allocations: 221.2 kB / 1.004 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.009721, allocations: 3.938 kB / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.009746, allocations: 4 kB / 1.004 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.00975, allocations: 4 kB / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009393/0.01069, allocations: 163.8 kB / 1.004 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.0118, allocations: 393.9 kB / 1.005 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.01293, allocations: 206.3 kB / 1.005 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.01326, allocations: 84.91 kB / 1.005 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.01329, allocations: 3.984 kB / 1.005 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.01332, allocations: 30.56 kB / 1.005 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.01333, allocations: 0 / 1.005 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.001141/0.01447, allocations: 265.4 kB / 1.005 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.01452, allocations: 59.33 kB / 1.005 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.01466, allocations: 140.9 kB / 1.006 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.01469, allocations: 25.7 kB / 1.006 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/0.01477, allocations: 120.1 kB / 1.006 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.0148, allocations: 23.78 kB / 1.006 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.628e-05/0.01487, allocations: 25.7 kB / 1.006 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.01501, allocations: 326.8 kB / 1.006 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.01536, allocations: 72.17 kB / 1.006 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.01571, allocations: 94.48 kB / 1.006 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006765/0.01638, allocations: 166.4 kB / 1.006 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01639, allocations: 0 / 1.006 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007838/0.01717, allocations: 205.5 kB / 1.007 GB, free: 392 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.01719, allocations: 6.031 kB / 1.007 GB, free: 388 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.01719, allocations: 4 kB / 1.007 GB, free: 384 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.01721, allocations: 3.938 kB / 1.007 GB, free: 380 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.01749, allocations: 39.94 kB / 1.007 GB, free: 340 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.0175, allocations: 0 / 1.007 GB, free: 340 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.01772, allocations: 23.97 kB / 1.007 GB, free: 316 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.01774, allocations: 8 kB / 1.007 GB, free: 308 kB / 0.9512 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.0001149/0.01786, allocations: 118.3 kB / 1.007 GB, free: 180 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.01791, allocations: 11.91 kB / 1.007 GB, free: 168 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008208/0.01873, allocations: 206.3 kB / 1.007 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.01873, allocations: 7.938 kB / 1.007 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01874, allocations: 0 / 1.007 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01874, allocations: 0 / 1.007 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.01899, allocations: 154.2 kB / 1.007 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01899, allocations: 0 / 1.007 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.01924, allocations: 35.89 kB / 1.007 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.01924, allocations: 0 / 1.007 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.01926, allocations: 8 kB / 1.007 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01926, allocations: 0 / 1.007 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.01926, allocations: 8 kB / 1.007 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008226/0.02009, allocations: 283.3 kB / 1.007 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 1.83e-05/0.02011, allocations: 15.88 kB / 1.007 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.02013, allocations: 3.984 kB / 1.008 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.02046, allocations: 35.95 kB / 1.008 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.0205, allocations: 7.938 kB / 1.008 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.02052, allocations: 11.92 kB / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.089e-05/0.0206, allocations: 108.8 kB / 1.008 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.0206, allocations: 0 / 1.008 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002777/0.02088, allocations: 27.95 kB / 1.008 GB, free: 15.22 MB / 0.9669 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.0001588/0.02104, allocations: 95.19 kB / 1.008 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007565/0.0218, allocations: 167.8 kB / 1.008 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.0218, allocations: 0 / 1.008 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003862/0.02219, allocations: 83.98 kB / 1.008 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.02247, allocations: 14.94 kB / 1.008 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007357/0.02321, allocations: 253.5 kB / 1.008 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.02333, allocations: 85.31 kB / 1.008 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.175e-05/0.02342, allocations: 19.98 kB / 1.008 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.02349, allocations: 12.5 kB / 1.008 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.02349, allocations: 4 kB / 1.008 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of Templates: time 0.004819/0.02831, allocations: 1.547 MB / 1.01 GB, free: 12.91 MB / 0.9669 GB " [Timeout remaining time 300] 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 -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/jenkins/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.099431775510311]