Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.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.0009614/0.0009614, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.001015/0.001015, allocations: 165 kB / 24.28 MB, free: 272 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.9661/0.9661, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.897/1.897, allocations: 377.8 MB / 0.6239 GB, free: 8.551 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.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.473e-05, allocations: 3.469 kB / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.00168/0.001695, allocations: 1.519 MB / 0.813 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007208/0.002416, allocations: 0.5976 MB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.238e-05/0.002468, allocations: 0 / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.468e-05/0.002493, allocations: 5.625 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.141e-05/0.002534, allocations: 3.938 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.002824, allocations: 63.73 kB / 0.8137 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.00293, allocations: 29.41 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.003087, allocations: 3.984 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.003363, allocations: 35.84 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.773e-05/0.00342, allocations: 11.92 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.003438, allocations: 0.7812 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.003585, allocations: 55.95 kB / 0.8138 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.003601, allocations: 8.734 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.003627, allocations: 7.938 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.003801, allocations: 69.39 kB / 0.8139 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.003805, allocations: 0 / 0.8139 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.432e-06/0.003807, allocations: 0 / 0.8139 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.003812, allocations: 0 / 0.8139 GB, free: 15.66 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003691/0.004181, allocations: 377 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.004219, allocations: 8.75 kB / 0.8143 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.004351, allocations: 16.83 kB / 0.8143 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.004504, allocations: 133 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.004514, allocations: 2.031 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.004523, allocations: 384 / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.004634, allocations: 54.95 kB / 0.8145 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.004641, allocations: 192 / 0.8145 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.004651, allocations: 4.922 kB / 0.8145 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.004659, allocations: 3.938 kB / 0.8145 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.048e-05/0.00469, allocations: 4.594 kB / 0.8145 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.004953, allocations: 260.5 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.286e-05/0.005006, allocations: 27.06 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.005027, allocations: 12.91 kB / 0.8148 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003007/0.005328, allocations: 81.27 kB / 0.8148 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.005352, allocations: 39.08 kB / 0.8149 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.005354, allocations: 0 / 0.8149 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001577/0.005512, allocations: 45.64 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.005542, allocations: 55.39 kB / 0.815 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.567e-05/0.005628, allocations: 172.1 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.005639, allocations: 25.7 kB / 0.8152 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.005686, allocations: 134.8 kB / 0.8153 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.005705, allocations: 7.953 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.005731, allocations: 19.38 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.005837, allocations: 0.4884 MB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.005851, allocations: 2.781 kB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.258e-05/0.005864, allocations: 4 kB / 0.8158 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.212e-05/0.005896, allocations: 15.69 kB / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.005897, allocations: 0 / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.735e-05/0.005955, allocations: 41.62 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.00597, allocations: 11.94 kB / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.005974, allocations: 1.594 kB / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.005988, allocations: 0 / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/0.006045, allocations: 4 kB / 0.8159 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.00605, allocations: 0 / 0.8159 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.708e-05/0.006067, allocations: 8.578 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.006072, allocations: 0.5625 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 6.098e-05/0.006133, allocations: 161.1 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.006149, allocations: 11.83 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.794e-05/0.006247, allocations: 53.81 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.00625, allocations: 5.359 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.006253, allocations: 0 / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.006256, allocations: 0 / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.548e-05/0.006351, allocations: 116.6 kB / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006352, allocations: 6.562 kB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.006375, allocations: 4 kB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.006378, allocations: 3.984 kB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.006385, allocations: 3.938 kB / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.006386, allocations: 0 / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.006387, allocations: 0 / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.962e-05/0.006487, allocations: 188.6 kB / 0.8164 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.006493, allocations: 3.953 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.006505, allocations: 9 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.795e-05/0.006533, allocations: 0 / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.006565, allocations: 5.031 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-06/0.006567, allocations: 0 / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.006606, allocations: 131.2 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006606, allocations: 0.8438 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001642/0.00677, allocations: 19.94 kB / 0.8166 GB, free: 12.66 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 (2): * Single equations (assignments): 2 * 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.0001418/0.006912, allocations: 111.9 kB / 0.8167 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.566e-05/0.006988, allocations: 19.41 kB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.006989, allocations: 0 / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.619e-05/0.007005, allocations: 15.67 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.007162, allocations: 4 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.007609, allocations: 138.2 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.573e-05/0.007644, allocations: 63.2 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.775e-05/0.007662, allocations: 1.469 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.007684, allocations: 12.5 kB / 0.8169 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of SimCode: time 9.71e-07/0.007685, allocations: 3.938 kB / 0.8169 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of Templates: time 0.002326/0.01001, allocations: 0.7021 MB / 0.8176 GB, free: 11.56 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothLimit.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.910967531148344]