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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002246/0.002246, allocations: 195.7 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.904/2.904, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 63.89 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9288/0.9308, allocations: 168.7 MB / 1.274 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003418/0.9342, allocations: 1.782 MB / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.9355, allocations: 0.6716 MB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.613e-05/0.9356, allocations: 11.88 kB / 1.276 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.18e-05/0.9356, allocations: 7.875 kB / 1.276 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.172e-05/0.9357, allocations: 15.8 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006222/0.9363, allocations: 174.4 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.9365, allocations: 123.7 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.9367, allocations: 37.09 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.9368, allocations: 63.77 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.9369, allocations: 51.75 kB / 1.277 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.9369, allocations: 12 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.9371, allocations: 47.97 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.721e-05/0.9371, allocations: 23.92 kB / 1.277 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.768e-05/0.9372, allocations: 55.7 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.9374, allocations: 154.1 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.9374, allocations: 0 / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9374, allocations: 0 / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.9374, allocations: 0 / 1.277 GB, free: 1.285 MB / 0.9669 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.0006977/0.9381, allocations: 442.8 kB / 1.278 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.9382, allocations: 12.03 kB / 1.278 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009038/0.9391, allocations: 112.7 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.9393, allocations: 188.2 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.9394, allocations: 59.95 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.9394, allocations: 16.38 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/0.94, allocations: 165.7 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.94, allocations: 0 / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.94, allocations: 4 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.94, allocations: 4 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006511/0.9406, allocations: 163.7 kB / 1.278 GB, free: 40 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.9418, allocations: 486 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.9429, allocations: 218.3 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.9432, allocations: 72.91 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.9432, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.9433, allocations: 42.55 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.9433, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.00108/0.9444, allocations: 261.3 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.9444, allocations: 51.41 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.9445, allocations: 140.4 kB / 1.28 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.9446, allocations: 33.7 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.592e-05/0.9446, allocations: 116.2 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.9447, allocations: 23.8 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.9447, allocations: 21.7 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.9449, allocations: 322.8 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.9452, allocations: 67.92 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.9455, allocations: 102.4 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006104/0.9462, allocations: 166.4 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.9462, allocations: 0 / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006904/0.9468, allocations: 205.5 kB / 1.281 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.9469, allocations: 4 kB / 1.281 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.9469, allocations: 0 / 1.281 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.9469, allocations: 11.88 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.9472, allocations: 31.95 kB / 1.281 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.9472, allocations: 4 kB / 1.281 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.9474, allocations: 19.97 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.9474, allocations: 7.984 kB / 1.281 GB, free: 13.53 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.0001175/0.9475, allocations: 131.8 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.9475, allocations: 11.91 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007511/0.9483, allocations: 210.1 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.9483, allocations: 0 / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9483, allocations: 384 / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9483, allocations: 0 / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.9486, allocations: 234.2 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.9486, allocations: 8 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.9488, allocations: 31.95 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.9489, allocations: 4 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.9489, allocations: 7.938 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.9489, allocations: 8.078 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.9489, allocations: 0 / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000718/0.9496, allocations: 279.4 kB / 1.282 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.9496, allocations: 92.98 kB / 1.282 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.9497, allocations: 3.938 kB / 1.282 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.95, allocations: 31.95 kB / 1.282 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.95, allocations: 4 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.95, allocations: 7.984 kB / 1.282 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.065e-05/0.9501, allocations: 105.3 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9501, allocations: 4 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002691/0.9504, allocations: 23.95 kB / 1.282 GB, free: 12.26 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.0001563/0.9506, allocations: 103.2 kB / 1.282 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007291/0.9513, allocations: 159.8 kB / 1.282 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.9513, allocations: 0 / 1.282 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.9516, allocations: 83.86 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.952, allocations: 21.27 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007438/0.9527, allocations: 263.4 kB / 1.282 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.953, allocations: 0.704 MB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.336e-05/0.9531, allocations: 19.94 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.371e-05/0.9532, allocations: 15.42 kB / 1.283 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.9532, allocations: 0 / 1.283 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of Templates: time 0.004469/0.9577, allocations: 1.502 MB / 1.285 GB, free: 9.348 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.13194913463667]