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.001108/0.001108, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001281/0.001281, allocations: 161 kB / 23.82 MB, free: 0.75 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.9462/0.9462, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.868/1.868, allocations: 377.8 MB / 0.6236 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.765e-06/2.765e-06, allocations: 4 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.799e-05, allocations: 3.625 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002297/0.002325, allocations: 1.828 MB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.00338, allocations: 0.7148 MB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.003447, allocations: 4.562 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.016e-05/0.003487, allocations: 11.86 kB / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.51e-05/0.003552, allocations: 17 kB / 0.8141 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.004029, allocations: 178.5 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.004191, allocations: 131.6 kB / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.004324, allocations: 39.14 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.004489, allocations: 83.78 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.892e-05/0.004558, allocations: 39.83 kB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.004583, allocations: 13.25 kB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.292e-05/0.004676, allocations: 51.95 kB / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.004702, allocations: 27.89 kB / 0.8146 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.004738, allocations: 35.91 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.004923, allocations: 148.8 kB / 0.8148 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004926, allocations: 0 / 0.8148 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.92e-07/0.004927, allocations: 0 / 0.8148 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.004931, allocations: 1.281 kB / 0.8148 GB, free: 14.4 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.0005235/0.005455, allocations: 468 kB / 0.8152 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.0055, allocations: 8.031 kB / 0.8152 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004686/0.005968, allocations: 111.5 kB / 0.8153 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.006158, allocations: 156.9 kB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.901e-05/0.006237, allocations: 111.9 kB / 0.8156 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.006257, allocations: 9.75 kB / 0.8156 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.006528, allocations: 203 kB / 0.8158 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.006537, allocations: 3.938 kB / 0.8158 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.006555, allocations: 4 kB / 0.8158 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.006563, allocations: 4.719 kB / 0.8158 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.038e-05/0.006654, allocations: 58.62 kB / 0.8159 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006397/0.007293, allocations: 412 kB / 0.8163 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.007593, allocations: 148.2 kB / 0.8164 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.253e-05/0.007645, allocations: 44.41 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.007664, allocations: 0.8438 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.007686, allocations: 37.39 kB / 0.8165 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.007688, allocations: 0 / 0.8165 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.000257/0.007945, allocations: 127.1 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.007973, allocations: 55.34 kB / 0.8167 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.619e-05/0.008069, allocations: 203.7 kB / 0.8168 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.008085, allocations: 26.64 kB / 0.8169 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.008143, allocations: 162.9 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.008167, allocations: 19.8 kB / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.008208, allocations: 34.77 kB / 0.8171 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.008313, allocations: 0.4923 MB / 0.8176 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.008361, allocations: 23.98 kB / 0.8176 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-05/0.008419, allocations: 51.05 kB / 0.8176 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.482e-05/0.008514, allocations: 75 kB / 0.8177 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.008516, allocations: 256 / 0.8177 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001479/0.008664, allocations: 114 kB / 0.8178 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.008676, allocations: 5.938 kB / 0.8178 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.008681, allocations: 4 kB / 0.8178 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.008696, allocations: 3.938 kB / 0.8178 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.008814, allocations: 31.91 kB / 0.8179 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.00882, allocations: 4.906 kB / 0.8179 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.807e-05/0.008879, allocations: 16.78 kB / 0.8179 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.00889, allocations: 4 kB / 0.8179 GB, free: 10.98 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.418e-05/0.008964, allocations: 161.2 kB / 0.818 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.008992, allocations: 11.95 kB / 0.818 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.009168, allocations: 108.6 kB / 0.8182 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.009171, allocations: 3.938 kB / 0.8182 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.009175, allocations: 0 / 0.8182 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.009177, allocations: 3.125 kB / 0.8182 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.009315, allocations: 173.2 kB / 0.8183 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.009316, allocations: 0 / 0.8183 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.568e-05/0.009391, allocations: 23.97 kB / 0.8183 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.009394, allocations: 0 / 0.8183 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.009404, allocations: 3.984 kB / 0.8183 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.009405, allocations: 0 / 0.8183 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.009407, allocations: 3.938 kB / 0.8184 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/0.009575, allocations: 244.8 kB / 0.8186 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.009586, allocations: 11.91 kB / 0.8186 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.0096, allocations: 1.125 kB / 0.8186 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.507e-05/0.009695, allocations: 23.91 kB / 0.8186 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.009731, allocations: 5.156 kB / 0.8186 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.009746, allocations: 15.98 kB / 0.8186 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.892e-05/0.009795, allocations: 153 kB / 0.8188 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009795, allocations: 1.125 kB / 0.8188 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001667/0.009962, allocations: 20 kB / 0.8188 GB, free: 9.973 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 8.825e-05/0.01005, allocations: 100.5 kB / 0.8189 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.0102, allocations: 73.31 kB / 0.819 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0102, allocations: 3.938 kB / 0.819 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.177e-05/0.01026, allocations: 43.66 kB / 0.819 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.01046, allocations: 20.14 kB / 0.819 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005179/0.01097, allocations: 231.8 kB / 0.8193 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.721e-05/0.01101, allocations: 64.44 kB / 0.8193 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.862e-05/0.01108, allocations: 19.17 kB / 0.8193 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.01113, allocations: 16.5 kB / 0.8194 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of SimCode: time 1.122e-06/0.01113, allocations: 3.312 kB / 0.8194 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of Templates: time 0.003179/0.01431, allocations: 1.703 MB / 0.821 GB, free: 7.672 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: 4.910134758334607]