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.001024/0.001024, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001013/0.001013, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9127/0.9127, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.959/1.959, allocations: 377.8 MB / 0.6239 GB, free: 8.586 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.674e-06/1.674e-06, allocations: 0 / 0.8115 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.22e-05, allocations: 4.844 kB / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003624/0.003656, allocations: 1.818 MB / 0.8133 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.005064, allocations: 0.7087 MB / 0.814 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.005171, allocations: 3.938 kB / 0.814 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.658e-05/0.005217, allocations: 11.86 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.679e-05/0.005304, allocations: 17.34 kB / 0.814 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007455/0.006049, allocations: 186.2 kB / 0.8142 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.006297, allocations: 131.5 kB / 0.8143 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.006457, allocations: 33.61 kB / 0.8144 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.006696, allocations: 92.31 kB / 0.8145 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.004e-05/0.006787, allocations: 32.61 kB / 0.8145 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.006816, allocations: 12 kB / 0.8145 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.006948, allocations: 48.48 kB / 0.8145 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.651e-05/0.006985, allocations: 35.89 kB / 0.8146 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.613e-05/0.007041, allocations: 41.52 kB / 0.8146 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.007311, allocations: 143.5 kB / 0.8148 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.007315, allocations: 0 / 0.8148 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.493e-06/0.007317, allocations: 0 / 0.8148 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.007323, allocations: 0.625 kB / 0.8148 GB, free: 14.79 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.0006018/0.007925, allocations: 460.7 kB / 0.8152 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.007969, allocations: 12.03 kB / 0.8152 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007189/0.008688, allocations: 111.6 kB / 0.8153 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.00895, allocations: 160.9 kB / 0.8155 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.009052, allocations: 109.1 kB / 0.8156 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.009081, allocations: 16.31 kB / 0.8156 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.009476, allocations: 204.1 kB / 0.8158 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.009485, allocations: 0 / 0.8158 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.009509, allocations: 4 kB / 0.8158 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.00952, allocations: 4 kB / 0.8158 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.009666, allocations: 55.91 kB / 0.8158 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008112/0.01048, allocations: 416.5 kB / 0.8162 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004459/0.01092, allocations: 144.2 kB / 0.8164 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.824e-05/0.011, allocations: 43.8 kB / 0.8164 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.01102, allocations: 0 / 0.8164 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.01106, allocations: 42 kB / 0.8165 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.01106, allocations: 0 / 0.8165 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0003879/0.01145, allocations: 118.1 kB / 0.8166 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.01149, allocations: 60.19 kB / 0.8166 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.01166, allocations: 199.8 kB / 0.8168 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.01169, allocations: 26.8 kB / 0.8168 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.00214/0.01383, allocations: 158.9 kB / 0.817 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.01387, allocations: 23.8 kB / 0.817 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-05/0.01394, allocations: 33.8 kB / 0.817 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.01406, allocations: 0.4884 MB / 0.8175 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.269e-05/0.01415, allocations: 23.98 kB / 0.8175 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.302e-05/0.01422, allocations: 55.05 kB / 0.8176 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.01434, allocations: 84.05 kB / 0.8177 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01434, allocations: 0 / 0.8177 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001934/0.01454, allocations: 106.5 kB / 0.8178 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.01456, allocations: 5.219 kB / 0.8178 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.01456, allocations: 0 / 0.8178 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.01458, allocations: 7.938 kB / 0.8178 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.01476, allocations: 24.81 kB / 0.8178 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.01476, allocations: 4 kB / 0.8178 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.166e-05/0.01484, allocations: 24.66 kB / 0.8178 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.01485, allocations: 5.141 kB / 0.8179 GB, free: 11.38 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 9.705e-05/0.01494, allocations: 160.5 kB / 0.818 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.01498, allocations: 11.95 kB / 0.818 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.01518, allocations: 108.5 kB / 0.8181 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.01519, allocations: 7.938 kB / 0.8181 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.01519, allocations: 0 / 0.8181 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.01519, allocations: 5.109 kB / 0.8181 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.01536, allocations: 165.3 kB / 0.8183 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01536, allocations: 3.984 kB / 0.8183 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.384e-05/0.01545, allocations: 24.89 kB / 0.8183 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01545, allocations: 3.984 kB / 0.8183 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.01546, allocations: 4.656 kB / 0.8183 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.01546, allocations: 1.688 kB / 0.8183 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.01546, allocations: 3.938 kB / 0.8183 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.01566, allocations: 244 kB / 0.8186 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.318e-05/0.01567, allocations: 11.91 kB / 0.8186 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.01569, allocations: 4 kB / 0.8186 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.01581, allocations: 21.16 kB / 0.8186 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.01585, allocations: 7.922 kB / 0.8186 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.01586, allocations: 9.078 kB / 0.8186 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.394e-05/0.01593, allocations: 149.2 kB / 0.8188 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.41e-07/0.01593, allocations: 0.6562 kB / 0.8188 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001769/0.0161, allocations: 20 kB / 0.8188 GB, free: 10.37 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 0.0001126/0.01622, allocations: 98.38 kB / 0.8189 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001663/0.01638, allocations: 79.64 kB / 0.8189 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01638, allocations: 4 kB / 0.819 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.478e-05/0.01644, allocations: 39.61 kB / 0.819 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.01667, allocations: 26.58 kB / 0.819 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005645/0.01723, allocations: 236 kB / 0.8192 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.103e-05/0.01727, allocations: 67.33 kB / 0.8193 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.968e-05/0.01733, allocations: 17.47 kB / 0.8193 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.635e-05/0.01741, allocations: 16.48 kB / 0.8193 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of SimCode: time 1.062e-06/0.01741, allocations: 0 / 0.8193 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of Templates: time 0.003255/0.02066, allocations: 1.562 MB / 0.8209 GB, free: 8.203 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.200281937839463]