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.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.001653/0.001653, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002074/0.002074, allocations: 188.9 kB / 22.23 MB, free: 5.137 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.55/1.55, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.137/3.137, allocations: 495.7 MB / 0.7831 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_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 0.001968/0.001968, allocations: 67.53 kB / 1.137 GB, free: 33.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3018, allocations: 173.6 MB / 1.307 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003692/0.3055, allocations: 1.795 MB / 1.309 GB, free: 140 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.307, allocations: 0.6701 MB / 1.309 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.3072, allocations: 4 kB / 1.309 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.024e-05/0.3072, allocations: 15.86 kB / 1.309 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.415e-05/0.3073, allocations: 11.81 kB / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007305/0.308, allocations: 170.6 kB / 1.31 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.3083, allocations: 131.6 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.3084, allocations: 40.98 kB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.3086, allocations: 59.83 kB / 1.31 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.3087, allocations: 55.75 kB / 1.31 GB, free: 14.98 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.3088, allocations: 12 kB / 1.31 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.3089, allocations: 43.97 kB / 1.31 GB, free: 14.93 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.3089, allocations: 27.91 kB / 1.31 GB, free: 14.9 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.471e-05/0.309, allocations: 55.72 kB / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.3093, allocations: 155.3 kB / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3093, allocations: 0 / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3093, allocations: 4 kB / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.3093, allocations: 0 / 1.31 GB, free: 14.69 MB / 1.014 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.0007376/0.3101, allocations: 365.7 kB / 1.31 GB, free: 14.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3101, allocations: 12.03 kB / 1.31 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009645/0.3111, allocations: 108.7 kB / 1.311 GB, free: 14.18 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.3113, allocations: 126.4 kB / 1.311 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.3114, allocations: 63.95 kB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.3114, allocations: 8.375 kB / 1.311 GB, free: 13.95 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006328/0.312, allocations: 177.6 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3121, allocations: 7.984 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.3121, allocations: 0 / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.3121, allocations: 4 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006808/0.3128, allocations: 159.8 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.3141, allocations: 456.9 kB / 1.312 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.3152, allocations: 214.3 kB / 1.312 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.3156, allocations: 76.91 kB / 1.312 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.3156, allocations: 15.97 kB / 1.312 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3156, allocations: 34.5 kB / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.3156, allocations: 0 / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.001148/0.3168, allocations: 257.4 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.3168, allocations: 59.39 kB / 1.312 GB, free: 12.43 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.317, allocations: 136.1 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.317, allocations: 33.64 kB / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.3171, allocations: 108.2 kB / 1.312 GB, free: 12.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.3171, allocations: 19.86 kB / 1.312 GB, free: 12.12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.191e-05/0.3172, allocations: 25.7 kB / 1.312 GB, free: 12.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3174, allocations: 322.8 kB / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.3177, allocations: 75.92 kB / 1.313 GB, free: 11.69 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.3181, allocations: 102.4 kB / 1.313 GB, free: 11.58 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006488/0.3187, allocations: 158.4 kB / 1.313 GB, free: 11.42 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3187, allocations: 0 / 1.313 GB, free: 11.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000753/0.3195, allocations: 201.4 kB / 1.313 GB, free: 11.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3195, allocations: 8 kB / 1.313 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3195, allocations: 320 / 1.313 GB, free: 11.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.3195, allocations: 3.938 kB / 1.313 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.3198, allocations: 47.95 kB / 1.313 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3198, allocations: 0 / 1.313 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.32, allocations: 35.84 kB / 1.313 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.32, allocations: 4 kB / 1.313 GB, free: 11.12 MB / 1.014 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.3202, allocations: 117.8 kB / 1.314 GB, free: 10.99 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.3202, allocations: 7.953 kB / 1.314 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007927/0.321, allocations: 210.1 kB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.321, allocations: 7.938 kB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.321, allocations: 0 / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.321, allocations: 3.984 kB / 1.314 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.3213, allocations: 205.5 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3213, allocations: 0 / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.3215, allocations: 31.95 kB / 1.314 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3215, allocations: 0 / 1.314 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.3216, allocations: 7.922 kB / 1.314 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3216, allocations: 0 / 1.314 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3216, allocations: 4 kB / 1.314 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007742/0.3223, allocations: 279.3 kB / 1.314 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.3224, allocations: 11.89 kB / 1.314 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.3224, allocations: 7.938 kB / 1.314 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.3227, allocations: 35.95 kB / 1.314 GB, free: 10.13 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.3227, allocations: 3.984 kB / 1.314 GB, free: 10.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.3228, allocations: 4 kB / 1.314 GB, free: 10.12 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.437e-05/0.3229, allocations: 109 kB / 1.314 GB, free: 10.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 5e-08/0.3229, allocations: 0 / 1.314 GB, free: 10.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002764/0.3231, allocations: 31.89 kB / 1.314 GB, free: 9.988 MB / 1.014 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.0001434/0.3233, allocations: 92.05 kB / 1.315 GB, free: 9.891 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007437/0.324, allocations: 167.8 kB / 1.315 GB, free: 9.727 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.324, allocations: 0 / 1.315 GB, free: 9.727 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003386/0.3244, allocations: 80.09 kB / 1.315 GB, free: 9.648 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.3246, allocations: 16.25 kB / 1.315 GB, free: 9.633 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007127/0.3253, allocations: 251.7 kB / 1.315 GB, free: 9.355 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.3257, allocations: 0.7078 MB / 1.316 GB, free: 8.621 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.3258, allocations: 23.97 kB / 1.316 GB, free: 8.598 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.3259, allocations: 11.44 kB / 1.316 GB, free: 8.586 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.3259, allocations: 4 kB / 1.316 GB, free: 8.582 MB / 1.014 GB Notification: Performance of Templates: time 0.004499/0.3304, allocations: 1.509 MB / 1.317 GB, free: 7.082 MB / 1.014 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.720798171125352]