Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001152/0.001152, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001338/0.001338, allocations: 188 kB / 16.25 MB, free: 6.633 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.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 437 MB / 0.71 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.91 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6786/0.6799, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003069/0.683, allocations: 1.824 MB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.6841, allocations: 0.6592 MB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.063e-05/0.6842, allocations: 0 / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.918e-05/0.6842, allocations: 7.922 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.413e-05/0.6843, allocations: 19.86 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.6849, allocations: 158.5 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.6851, allocations: 127.6 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.6853, allocations: 41.11 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.6854, allocations: 59.83 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.54e-05/0.6855, allocations: 47.77 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.6855, allocations: 8 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.6857, allocations: 55.97 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.565e-05/0.6857, allocations: 27.89 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.47e-05/0.6858, allocations: 59.66 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.686, allocations: 141.6 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.686, allocations: 4 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.643e-06/0.686, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.686, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 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.0005907/0.6866, allocations: 438.9 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.6867, allocations: 12.03 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008528/0.6875, allocations: 112.6 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.6877, allocations: 180.2 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.6878, allocations: 63.97 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.6878, allocations: 16.31 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000517/0.6883, allocations: 175.1 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.6883, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.6884, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.6884, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005997/0.689, allocations: 159.8 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.6902, allocations: 481.9 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009761/0.6912, allocations: 218.3 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.6915, allocations: 88.83 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.6915, allocations: 4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.6915, allocations: 38.56 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.6915, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0009785/0.6925, allocations: 265.4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.6926, allocations: 51.41 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.6927, allocations: 135.4 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.6927, allocations: 29.7 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.6928, allocations: 108.2 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.6928, allocations: 19.72 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/0.6929, allocations: 21.7 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.693, allocations: 326.8 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.6933, allocations: 71.92 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.6936, allocations: 94.48 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005854/0.6942, allocations: 162.4 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6942, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006497/0.6948, allocations: 205.4 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.6949, allocations: 4 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.6949, allocations: 0 / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.6949, allocations: 7.938 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.6952, allocations: 36.33 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.6952, allocations: 4 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.6954, allocations: 31.89 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.6954, allocations: 4 kB / 1.023 GB, free: 11.73 MB / 0.7794 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.0001065/0.6955, allocations: 121.8 kB / 1.023 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.6956, allocations: 11.81 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006878/0.6963, allocations: 210.1 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.6963, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6963, allocations: 0 / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6963, allocations: 3.984 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.6965, allocations: 237.9 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6965, allocations: 4 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.6968, allocations: 35.95 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.6968, allocations: 4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.6968, allocations: 15.8 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6968, allocations: 0 / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6968, allocations: 3.938 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006686/0.6975, allocations: 283.3 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.6976, allocations: 85.02 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.6976, allocations: 3.938 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.6979, allocations: 31.95 kB / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.698, allocations: 11.98 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.698, allocations: 3.984 kB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.6e-05/0.6981, allocations: 105.2 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6981, allocations: 0 / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002591/0.6983, allocations: 23.94 kB / 1.024 GB, free: 10.46 MB / 0.7794 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.0001294/0.6985, allocations: 103.2 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000664/0.6991, allocations: 167.8 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6991, allocations: 0 / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.6995, allocations: 87.84 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.6998, allocations: 10.47 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006741/0.7005, allocations: 299.3 kB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.7008, allocations: 0.6963 MB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.7009, allocations: 19.98 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/0.7009, allocations: 11.44 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.7009, allocations: 0 / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of Templates: time 0.00349/0.7044, allocations: 1.432 MB / 1.027 GB, free: 7.594 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches