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.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.001722/0.001722, allocations: 84.12 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.002044/0.002044, allocations: 165.3 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.516/1.516, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.717/2.717, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.503e-06/1.503e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.13e-05, allocations: 2.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003004/0.003025, allocations: 1.765 MB / 0.9527 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.004337, allocations: 0.6939 MB / 0.9534 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.096e-05/0.004408, allocations: 4 kB / 0.9534 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.831e-05/0.004447, allocations: 15.8 kB / 0.9534 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.388e-05/0.004521, allocations: 15.81 kB / 0.9534 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.005113, allocations: 183 kB / 0.9536 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.005316, allocations: 135.5 kB / 0.9537 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.005443, allocations: 29.62 kB / 0.9537 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.005633, allocations: 87.8 kB / 0.9538 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.797e-05/0.005721, allocations: 43.88 kB / 0.9539 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.005752, allocations: 8 kB / 0.9539 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.005881, allocations: 55.89 kB / 0.9539 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.848e-05/0.005919, allocations: 27.89 kB / 0.954 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.005973, allocations: 35.92 kB / 0.954 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.006255, allocations: 171.5 kB / 0.9542 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006257, allocations: 0 / 0.9542 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.91e-07/0.006258, allocations: 0 / 0.9542 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.006263, allocations: 0 / 0.9542 GB, free: 8.297 MB / 0.8575 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.0006508/0.006913, allocations: 377.5 kB / 0.9545 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.006952, allocations: 12.03 kB / 0.9545 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.008044, allocations: 124.7 kB / 0.9546 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.008337, allocations: 156 kB / 0.9548 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.008466, allocations: 115.4 kB / 0.9549 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.008487, allocations: 8.312 kB / 0.9549 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006181/0.009105, allocations: 225.2 kB / 0.9551 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.009116, allocations: 0 / 0.9551 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.009143, allocations: 7.938 kB / 0.9551 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.009147, allocations: 0 / 0.9551 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006935/0.00984, allocations: 162.3 kB / 0.9553 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.01098, allocations: 397.8 kB / 0.9557 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.01209, allocations: 214.3 kB / 0.9559 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.01243, allocations: 80.84 kB / 0.9559 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.01246, allocations: 0 / 0.9559 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.01249, allocations: 34.56 kB / 0.956 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 2.885e-06/0.01249, allocations: 3.984 kB / 0.956 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.001137/0.01363, allocations: 269.3 kB / 0.9562 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.01367, allocations: 55.34 kB / 0.9563 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.0138, allocations: 148.5 kB / 0.9564 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.01384, allocations: 25.7 kB / 0.9565 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.648e-05/0.01392, allocations: 108.2 kB / 0.9566 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.01395, allocations: 15.86 kB / 0.9566 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/0.01402, allocations: 33.7 kB / 0.9566 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.01416, allocations: 318.8 kB / 0.9569 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.0145, allocations: 71.92 kB / 0.957 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/0.01485, allocations: 94.48 kB / 0.9571 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006788/0.01553, allocations: 162.4 kB / 0.9572 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01553, allocations: 0 / 0.9572 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00077/0.0163, allocations: 205.7 kB / 0.9574 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.01631, allocations: 4 kB / 0.9574 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.01632, allocations: 4 kB / 0.9574 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.01634, allocations: 3.938 kB / 0.9574 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.01662, allocations: 39.95 kB / 0.9575 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.01663, allocations: 3.938 kB / 0.9575 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.01685, allocations: 35.86 kB / 0.9575 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.01686, allocations: 7.984 kB / 0.9575 GB, free: 4.625 MB / 0.8575 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.0001103/0.01697, allocations: 117.8 kB / 0.9576 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.01702, allocations: 11.95 kB / 0.9576 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008241/0.01785, allocations: 202.3 kB / 0.9578 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.01785, allocations: 3.938 kB / 0.9578 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.01786, allocations: 0 / 0.9578 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.01786, allocations: 0 / 0.9578 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.01809, allocations: 166.1 kB / 0.958 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01809, allocations: 0 / 0.958 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.01835, allocations: 43.88 kB / 0.958 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.01835, allocations: 4 kB / 0.958 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.01836, allocations: 0 / 0.958 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01836, allocations: 0 / 0.958 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.01837, allocations: 3.938 kB / 0.958 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007964/0.01916, allocations: 287.3 kB / 0.9583 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.01918, allocations: 7.953 kB / 0.9583 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.0192, allocations: 4 kB / 0.9583 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.01954, allocations: 27.95 kB / 0.9584 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.01958, allocations: 11.92 kB / 0.9584 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.0196, allocations: 11.92 kB / 0.9584 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.117e-05/0.01968, allocations: 107.3 kB / 0.9585 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.01968, allocations: 0 / 0.9585 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002753/0.01996, allocations: 23.94 kB / 0.9585 GB, free: 3.551 MB / 0.8575 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.0001413/0.0201, allocations: 108 kB / 0.9586 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007489/0.02085, allocations: 164 kB / 0.9588 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02085, allocations: 0 / 0.9588 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003535/0.0212, allocations: 83.98 kB / 0.9588 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.0215, allocations: 11.94 kB / 0.9589 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007429/0.02224, allocations: 253.6 kB / 0.9591 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.686e-05/0.02233, allocations: 90.62 kB / 0.9592 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.686e-05/0.02241, allocations: 12 kB / 0.9592 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.491e-05/0.02249, allocations: 24.48 kB / 0.9592 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.02249, allocations: 0 / 0.9592 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of Templates: time 0.004774/0.02726, allocations: 1.536 MB / 0.9607 GB, free: 1.25 MB / 0.8575 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.9399121552705765]