Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.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.0009384/0.0009384, 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.0009436/0.0009436, allocations: 169.3 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 1.002/1.002, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.91/1.91, allocations: 377.8 MB / 0.6239 GB, free: 8.539 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.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 3.938 kB / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.032e-05, allocations: 7.641 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001762/0.001782, allocations: 1.489 MB / 0.813 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003302/0.002113, allocations: 191.3 kB / 0.8132 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.002146, allocations: 0 / 0.8132 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.377e-05/0.002169, allocations: 0 / 0.8132 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.261e-05/0.002212, allocations: 9.453 kB / 0.8132 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.002448, allocations: 35.84 kB / 0.8132 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.29e-05/0.00251, allocations: 27.92 kB / 0.8132 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 7.483e-05/0.002585, allocations: 0.6562 kB / 0.8132 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.62e-05/0.002631, allocations: 15.92 kB / 0.8132 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.313e-05/0.002665, allocations: 16.47 kB / 0.8133 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.002678, allocations: 5.125 kB / 0.8133 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.805e-05/0.002746, allocations: 27.97 kB / 0.8133 GB, free: 272 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.002759, allocations: 4 kB / 0.8133 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.756e-05/0.002776, allocations: 8.531 kB / 0.8133 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.002887, allocations: 43.8 kB / 0.8133 GB, free: 216 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.00289, allocations: 5.375 kB / 0.8134 GB, free: 212 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.192e-06/0.002891, allocations: 0 / 0.8134 GB, free: 212 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.002895, allocations: 0 / 0.8134 GB, free: 212 kB / 0.7605 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.0003346/0.00323, allocations: 361.8 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.003262, allocations: 8.031 kB / 0.8137 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.003301, allocations: 16.88 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.169e-05/0.003383, allocations: 109.6 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.003394, allocations: 384 / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.003402, allocations: 4.359 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.003513, allocations: 55.86 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.423e-06/0.003519, allocations: 192 / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.003527, allocations: 1.406 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.003534, allocations: 384 / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.202e-05/0.003566, allocations: 15.92 kB / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002513/0.003817, allocations: 253.1 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.458e-05/0.003862, allocations: 31.06 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.003883, allocations: 11.75 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.956e-05/0.003933, allocations: 9.938 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.003953, allocations: 37.38 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.003955, allocations: 0 / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001288/0.004083, allocations: 45.58 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.004114, allocations: 57.09 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.859e-05/0.004183, allocations: 165.9 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.004192, allocations: 25.7 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.004231, allocations: 126.9 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.004246, allocations: 12.8 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.00427, allocations: 19.38 kB / 0.8147 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.004373, allocations: 0.4884 MB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.004385, allocations: 0.5312 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.045e-05/0.004396, allocations: 4.5 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.618e-05/0.004422, allocations: 16.22 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.004424, allocations: 1.156 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.237e-05/0.004476, allocations: 37.64 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.004486, allocations: 4.5 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.004493, allocations: 8.766 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.004502, allocations: 0 / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-05/0.004558, allocations: 8 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.004563, allocations: 0.8438 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.451e-05/0.004577, allocations: 0 / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.004583, allocations: 5.281 kB / 0.8152 GB, free: 14.1 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 5.703e-05/0.00464, allocations: 160.6 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.004654, allocations: 4.797 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.782e-05/0.004732, allocations: 52.88 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.004734, allocations: 1.062 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.004736, allocations: 4 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.004739, allocations: 0 / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.505e-05/0.004824, allocations: 110 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.004825, allocations: 256 / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.54e-05/0.004851, allocations: 15.98 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.004852, allocations: 0 / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.004858, allocations: 1.375 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.004861, allocations: 7.922 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.004862, allocations: 4 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.742e-05/0.004939, allocations: 182.9 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-06/0.004946, allocations: 7.953 kB / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-06/0.004955, allocations: 4 kB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.946e-05/0.004985, allocations: 3.938 kB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.005018, allocations: 7.984 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.005021, allocations: 7.875 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.163e-05/0.005052, allocations: 123.2 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005052, allocations: 0.5 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001437/0.005196, allocations: 8 kB / 0.8159 GB, free: 13.34 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.0001077/0.005304, allocations: 116.2 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.437e-05/0.005368, allocations: 12.84 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.005369, allocations: 0 / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.659e-05/0.005386, allocations: 12.19 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.005553, allocations: 5.281 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002236/0.005777, allocations: 122.3 kB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.193e-05/0.005809, allocations: 60.11 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.545e-05/0.005824, allocations: 5.344 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.005841, allocations: 8.5 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of SimCode: time 8.41e-07/0.005842, allocations: 0 / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of Templates: time 0.002068/0.00791, allocations: 0.6196 MB / 0.8168 GB, free: 12.35 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothExponential.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.013575665885583]