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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005255/0.005255, allocations: 96.72 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 195.5 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.825/2.825, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.89 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3233, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.0029/0.3262, allocations: 1.774 MB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.3273, allocations: 0.6622 MB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.31e-05/0.3274, allocations: 0 / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.542e-05/0.3274, allocations: 11.86 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.035e-05/0.3275, allocations: 19.8 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005842/0.3281, allocations: 175.5 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.3283, allocations: 123.6 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.3284, allocations: 37.09 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.3285, allocations: 59.83 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9e-05/0.3286, allocations: 47.77 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.3286, allocations: 8 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.3288, allocations: 47.97 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.3288, allocations: 31.89 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.481e-05/0.3289, allocations: 59.66 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.3291, allocations: 147.4 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3291, allocations: 4 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3291, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3291, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9825 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.0006098/0.3297, allocations: 444.8 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3297, allocations: 11.97 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008152/0.3306, allocations: 112.7 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.3307, allocations: 184.2 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.3308, allocations: 63.97 kB / 1.225 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.3308, allocations: 8.375 kB / 1.225 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/0.3314, allocations: 185.5 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3314, allocations: 0 / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.3314, allocations: 0 / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3314, allocations: 4 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005663/0.332, allocations: 159.8 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.3331, allocations: 489.9 kB / 1.225 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00094/0.334, allocations: 210.3 kB / 1.226 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.3343, allocations: 88.89 kB / 1.226 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.3343, allocations: 3.938 kB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.3343, allocations: 34.56 kB / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3343, allocations: 0 / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.001042/0.3354, allocations: 265.3 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.3354, allocations: 51.41 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3355, allocations: 135.7 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.3355, allocations: 29.7 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.3356, allocations: 112.2 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.3356, allocations: 27.78 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.3357, allocations: 21.72 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.649e-05/0.3358, allocations: 326.8 kB / 1.227 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.3361, allocations: 72.17 kB / 1.227 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.3363, allocations: 102.4 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005224/0.3369, allocations: 162.4 kB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3369, allocations: 0 / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000661/0.3375, allocations: 201.4 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3375, allocations: 4 kB / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3375, allocations: 8 kB / 1.227 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.3376, allocations: 3.938 kB / 1.227 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.3378, allocations: 39.89 kB / 1.227 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.3378, allocations: 4.141 kB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.338, allocations: 27.97 kB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.338, allocations: 0 / 1.227 GB, free: 6.816 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.0001008/0.3381, allocations: 113.8 kB / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.3382, allocations: 15.91 kB / 1.227 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000668/0.3388, allocations: 214.1 kB / 1.227 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3388, allocations: 4 kB / 1.227 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3388, allocations: 0 / 1.227 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3389, allocations: 0 / 1.227 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.3391, allocations: 242.1 kB / 1.228 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3391, allocations: 0 / 1.228 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.3393, allocations: 31.95 kB / 1.228 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3393, allocations: 3.984 kB / 1.228 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.3393, allocations: 7.938 kB / 1.228 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3394, allocations: 3.984 kB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3394, allocations: 0 / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000631/0.34, allocations: 291.4 kB / 1.228 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.34, allocations: 81.06 kB / 1.228 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.3401, allocations: 7.938 kB / 1.228 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.3403, allocations: 35.95 kB / 1.228 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.3404, allocations: 3.984 kB / 1.228 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.3404, allocations: 7.984 kB / 1.228 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.451e-05/0.3405, allocations: 105.2 kB / 1.228 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3405, allocations: 0 / 1.228 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002655/0.3408, allocations: 27.95 kB / 1.228 GB, free: 5.543 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.000148/0.3409, allocations: 103.2 kB / 1.228 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006269/0.3415, allocations: 163.8 kB / 1.229 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3415, allocations: 0 / 1.229 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.3418, allocations: 84.03 kB / 1.229 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.3422, allocations: 15.22 kB / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007053/0.3429, allocations: 251.3 kB / 1.229 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.3432, allocations: 0.7079 MB / 1.23 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.3433, allocations: 19.97 kB / 1.23 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.3434, allocations: 15.44 kB / 1.23 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.3434, allocations: 0 / 1.23 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of Templates: time 0.003892/0.3473, allocations: 1.472 MB / 1.231 GB, free: 2.668 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) 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) Reference file matches