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.00129/0.00129, allocations: 107.8 kB / 15.99 MB, free: 5.906 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.001262/0.001262, allocations: 195.4 kB / 16.91 MB, free: 5.754 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.671/2.671, allocations: 469.8 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001939, allocations: 64.53 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3601, allocations: 159.2 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003517/0.3637, allocations: 1.808 MB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.365, allocations: 0.6584 MB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.726e-05/0.3651, allocations: 4 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.895e-05/0.3651, allocations: 3.938 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.851e-05/0.3653, allocations: 15.84 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005968/0.3659, allocations: 155.1 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.366, allocations: 127.7 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.3662, allocations: 45.09 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.3664, allocations: 63.77 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.424e-05/0.3665, allocations: 47.77 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.3665, allocations: 8 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.3666, allocations: 47.91 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.3667, allocations: 35.89 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.981e-05/0.3668, allocations: 55.72 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.3669, allocations: 100.1 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.367, allocations: 7.938 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.643e-06/0.367, allocations: 0 / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.367, allocations: 0 / 1.067 GB, free: 11.91 MB / 0.8419 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.0006882/0.3677, allocations: 435 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3677, allocations: 8.031 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008676/0.3686, allocations: 108.7 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.3688, allocations: 196 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.3689, allocations: 55.97 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.3689, allocations: 12.38 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000548/0.3695, allocations: 173.6 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3695, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.3695, allocations: 8 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3696, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006167/0.3702, allocations: 159.8 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.3714, allocations: 481.9 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.3724, allocations: 218.3 kB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.3728, allocations: 80.89 kB / 1.069 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.3728, allocations: 4 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.3728, allocations: 30.56 kB / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 3.176e-06/0.3728, allocations: 4 kB / 1.069 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.001039/0.3739, allocations: 265.4 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.3739, allocations: 59.41 kB / 1.069 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.3741, allocations: 135.9 kB / 1.07 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.3741, allocations: 25.7 kB / 1.07 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/0.3742, allocations: 112.1 kB / 1.07 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.3743, allocations: 23.72 kB / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/0.3743, allocations: 25.72 kB / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3745, allocations: 318.8 kB / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.3748, allocations: 75.92 kB / 1.07 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.3751, allocations: 94.48 kB / 1.07 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/0.3757, allocations: 162.4 kB / 1.07 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3757, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006922/0.3764, allocations: 201.4 kB / 1.071 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.3764, allocations: 8 kB / 1.071 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.3765, allocations: 0 / 1.071 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3765, allocations: 7.875 kB / 1.071 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.3768, allocations: 43.89 kB / 1.071 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3768, allocations: 3.984 kB / 1.071 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.377, allocations: 27.94 kB / 1.071 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.377, allocations: 4 kB / 1.071 GB, free: 8.168 MB / 0.8419 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.0001305/0.3771, allocations: 115.6 kB / 1.071 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.3772, allocations: 7.906 kB / 1.071 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007327/0.3779, allocations: 210.1 kB / 1.071 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.378, allocations: 4.375 kB / 1.071 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.378, allocations: 0 / 1.071 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.378, allocations: 3.938 kB / 1.071 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.3783, allocations: 242.1 kB / 1.071 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3783, allocations: 0 / 1.071 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.3785, allocations: 35.95 kB / 1.071 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.3786, allocations: 3.984 kB / 1.071 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.3786, allocations: 3.938 kB / 1.071 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3786, allocations: 0 / 1.071 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3786, allocations: 160 / 1.071 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/0.3793, allocations: 291.3 kB / 1.072 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.3794, allocations: 89 kB / 1.072 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.3794, allocations: 3.938 kB / 1.072 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.3797, allocations: 27.95 kB / 1.072 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.3798, allocations: 11.98 kB / 1.072 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.3798, allocations: 7.984 kB / 1.072 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.296e-05/0.3799, allocations: 117.2 kB / 1.072 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.8e-07/0.3799, allocations: 0 / 1.072 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002884/0.3802, allocations: 23.91 kB / 1.072 GB, free: 6.898 MB / 0.8419 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.0001652/0.3804, allocations: 95.25 kB / 1.072 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006878/0.3811, allocations: 167.8 kB / 1.072 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3811, allocations: 0 / 1.072 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.3814, allocations: 83.91 kB / 1.072 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.3818, allocations: 14.48 kB / 1.072 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007627/0.3826, allocations: 321.3 kB / 1.072 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.383, allocations: 0.7041 MB / 1.073 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/0.3831, allocations: 11.44 kB / 1.073 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.3831, allocations: 3.938 kB / 1.073 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of Templates: time 0.003711/0.3868, allocations: 1.6 MB / 1.075 GB, free: 3.855 MB / 0.8419 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches