Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001016/0.001016, allocations: 87.58 kB / 20.45 MB, free: 4.113 MB / 18.57 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.001352/0.001352, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 18.57 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 0.9732/0.9732, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.917/1.917, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.514e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002271/0.002296, allocations: 1.825 MB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0009794/0.003276, allocations: 0.7143 MB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.029e-05/0.003346, allocations: 0 / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.756e-05/0.003384, allocations: 8.781 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.564e-05/0.003449, allocations: 24.39 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.003968, allocations: 178.3 kB / 0.8142 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00017/0.004138, allocations: 128.5 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.00427, allocations: 37.59 kB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.004444, allocations: 92.53 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.917e-05/0.004514, allocations: 31.89 kB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.004538, allocations: 12.88 kB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.004641, allocations: 51.89 kB / 0.8146 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.004669, allocations: 33.16 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.004708, allocations: 39.89 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.004917, allocations: 143.5 kB / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.004919, allocations: 0 / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.32e-07/0.00492, allocations: 1.875 kB / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.004925, allocations: 0 / 0.8148 GB, free: 14.41 MB / 0.7761 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.0004554/0.00538, allocations: 464 kB / 0.8152 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.00542, allocations: 12.03 kB / 0.8152 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004646/0.005884, allocations: 106.8 kB / 0.8153 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.006075, allocations: 158.6 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.578e-05/0.006151, allocations: 115.4 kB / 0.8156 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.006176, allocations: 16.31 kB / 0.8156 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.006451, allocations: 202.1 kB / 0.8158 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.006458, allocations: 0 / 0.8158 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.006475, allocations: 5.5 kB / 0.8158 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.006482, allocations: 0 / 0.8158 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.43e-05/0.006577, allocations: 59.95 kB / 0.8159 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007332/0.00731, allocations: 420.5 kB / 0.8163 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.007619, allocations: 143.6 kB / 0.8164 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.328e-05/0.007673, allocations: 39.8 kB / 0.8164 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.007697, allocations: 8.625 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.007717, allocations: 33.39 kB / 0.8165 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.007719, allocations: 0.5312 kB / 0.8165 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0002613/0.00798, allocations: 122.8 kB / 0.8166 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.008007, allocations: 55.34 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.008112, allocations: 196.1 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.00813, allocations: 29.7 kB / 0.8169 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.008192, allocations: 164.2 kB / 0.817 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.008214, allocations: 23.8 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.008257, allocations: 27.36 kB / 0.8171 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.008363, allocations: 0.4934 MB / 0.8175 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/0.008415, allocations: 23.94 kB / 0.8176 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.373e-05/0.008479, allocations: 63.27 kB / 0.8176 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.739e-05/0.008576, allocations: 72.81 kB / 0.8177 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.008578, allocations: 4 kB / 0.8177 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001509/0.008729, allocations: 102.9 kB / 0.8178 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.008742, allocations: 8 kB / 0.8178 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.008748, allocations: 3.938 kB / 0.8178 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.008762, allocations: 4.781 kB / 0.8178 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.00889, allocations: 33.91 kB / 0.8179 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.008897, allocations: 3.984 kB / 0.8179 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.282e-05/0.008959, allocations: 19.94 kB / 0.8179 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.008968, allocations: 4 kB / 0.8179 GB, free: 10.99 MB / 0.7761 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 7.642e-05/0.009045, allocations: 161.3 kB / 0.818 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.009075, allocations: 7.953 kB / 0.818 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/0.009259, allocations: 117.8 kB / 0.8182 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.009262, allocations: 3.938 kB / 0.8182 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.009267, allocations: 4 kB / 0.8182 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.009269, allocations: 0 / 0.8182 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.009414, allocations: 161.3 kB / 0.8183 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.009415, allocations: 0 / 0.8183 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.125e-05/0.009497, allocations: 24.56 kB / 0.8183 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.009499, allocations: 0.5312 kB / 0.8183 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.00951, allocations: 4 kB / 0.8183 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.009511, allocations: 0.6562 kB / 0.8183 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.009513, allocations: 5.25 kB / 0.8183 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.0097, allocations: 255.9 kB / 0.8186 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.009711, allocations: 11.91 kB / 0.8186 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.00973, allocations: 4.781 kB / 0.8186 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.00983, allocations: 12.55 kB / 0.8186 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.009866, allocations: 11.92 kB / 0.8186 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.009879, allocations: 9.078 kB / 0.8186 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.635e-05/0.009936, allocations: 153 kB / 0.8188 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009936, allocations: 0 / 0.8188 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001787/0.01011, allocations: 20.66 kB / 0.8188 GB, free: 9.977 MB / 0.7761 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 9.592e-05/0.01021, allocations: 96.97 kB / 0.8189 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001683/0.01038, allocations: 75.59 kB / 0.819 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01038, allocations: 0 / 0.819 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.553e-05/0.01044, allocations: 47.2 kB / 0.819 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.01067, allocations: 19.91 kB / 0.819 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/0.0113, allocations: 242.3 kB / 0.8193 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.737e-05/0.01135, allocations: 63.34 kB / 0.8193 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.034e-05/0.01141, allocations: 15.08 kB / 0.8193 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.01146, allocations: 21.52 kB / 0.8194 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of SimCode: time 8.71e-07/0.01146, allocations: 0 / 0.8194 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of Templates: time 0.00326/0.01472, allocations: 1.557 MB / 0.8209 GB, free: 7.828 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.200198573991656]