Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.0009306/0.0009306, 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.0009653/0.0009653, 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.9015/0.9015, allocations: 177.1 MB / 204.6 MB, free: 5.27 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.999/1.999, allocations: 377.8 MB / 0.6239 GB, free: 8.574 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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8116 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.928e-05, allocations: 10.25 kB / 0.8116 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001037/0.001057, allocations: 0.6265 MB / 0.8122 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003083/0.001365, allocations: 148.1 kB / 0.8123 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.876e-05/0.001394, allocations: 1.531 kB / 0.8123 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.00141, allocations: 0 / 0.8123 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.26e-05/0.001433, allocations: 0 / 0.8123 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.001709, allocations: 47.7 kB / 0.8124 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.078e-05/0.00176, allocations: 13.55 kB / 0.8124 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.001796, allocations: 7.984 kB / 0.8124 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.8e-05/0.001824, allocations: 8 kB / 0.8124 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.099e-05/0.001885, allocations: 3.984 kB / 0.8124 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.0019, allocations: 4.875 kB / 0.8124 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.001966, allocations: 31.95 kB / 0.8125 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.00198, allocations: 4.719 kB / 0.8125 GB, free: 1.145 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.001998, allocations: 8 kB / 0.8125 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.664e-05/0.002095, allocations: 41.5 kB / 0.8125 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002097, allocations: 0 / 0.8125 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.42e-07/0.002097, allocations: 0 / 0.8125 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.002103, allocations: 3.984 kB / 0.8125 GB, free: 1.094 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003185/0.002421, allocations: 356.3 kB / 0.8128 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.002456, allocations: 12.72 kB / 0.8129 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.002494, allocations: 1.625 kB / 0.8129 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.969e-05/0.002574, allocations: 112.9 kB / 0.813 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.002584, allocations: 0.875 kB / 0.813 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.002607, allocations: 13.11 kB / 0.813 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.171e-05/0.002699, allocations: 63.95 kB / 0.813 GB, free: 484 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.002706, allocations: 1.562 kB / 0.813 GB, free: 484 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.002717, allocations: 4.375 kB / 0.813 GB, free: 480 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.002724, allocations: 384 / 0.813 GB, free: 480 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.041e-05/0.002754, allocations: 15.92 kB / 0.8131 GB, free: 464 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.002876, allocations: 114.4 kB / 0.8132 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 8.082e-05/0.002957, allocations: 55.03 kB / 0.8132 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.429e-05/0.002981, allocations: 15.81 kB / 0.8132 GB, free: 228 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.348e-05/0.003044, allocations: 4 kB / 0.8132 GB, free: 224 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.003066, allocations: 42.42 kB / 0.8133 GB, free: 172 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.003067, allocations: 0 / 0.8133 GB, free: 172 kB / 0.7605 GB Notification: Performance of matching and sorting (n=7): time 0.0008607/0.003928, allocations: 423.3 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.003953, allocations: 55.34 kB / 0.8137 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.835e-05/0.004012, allocations: 150.5 kB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.004021, allocations: 26.42 kB / 0.8139 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.004049, allocations: 130.9 kB / 0.814 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.004075, allocations: 24.31 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.004105, allocations: 28.97 kB / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.004205, allocations: 496.1 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.004224, allocations: 11.98 kB / 0.8146 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.378e-05/0.004238, allocations: 4 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.517e-05/0.004283, allocations: 35.67 kB / 0.8146 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.004283, allocations: 0.625 kB / 0.8146 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.975e-05/0.004363, allocations: 78.61 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.004374, allocations: 4 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.004378, allocations: 0.9375 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.004388, allocations: 0 / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/0.004442, allocations: 15.98 kB / 0.8147 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.004448, allocations: 5.156 kB / 0.8147 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.004461, allocations: 4 kB / 0.8147 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.004466, allocations: 0 / 0.8147 GB, free: 14.59 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 (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 5.716e-05/0.004523, allocations: 161.5 kB / 0.8149 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-06/0.00453, allocations: 0 / 0.8149 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.004642, allocations: 87.78 kB / 0.8149 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.004644, allocations: 256 / 0.8149 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.004648, allocations: 3.938 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.004652, allocations: 4 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.975e-05/0.004721, allocations: 120.6 kB / 0.8151 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.004722, allocations: 3.188 kB / 0.8151 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.972e-05/0.004772, allocations: 16 kB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.004775, allocations: 3.984 kB / 0.8151 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.004783, allocations: 3.984 kB / 0.8151 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.004784, allocations: 0 / 0.8151 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.004785, allocations: 3.938 kB / 0.8151 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.004907, allocations: 128.2 kB / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-06/0.004913, allocations: 4 kB / 0.8152 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.004922, allocations: 1.188 kB / 0.8152 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.055e-05/0.004943, allocations: 4 kB / 0.8152 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.004959, allocations: 3.984 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.004965, allocations: 12.53 kB / 0.8152 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.669e-05/0.004992, allocations: 120.2 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.004992, allocations: 0 / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001486/0.005141, allocations: 27.94 kB / 0.8154 GB, free: 13.83 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (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 Backend phase and start with SimCode phase: time 0.0001431/0.005284, allocations: 133.5 kB / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.318e-05/0.005377, allocations: 47.59 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.005379, allocations: 0 / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.323e-05/0.005402, allocations: 23.67 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001031/0.005505, allocations: 9.188 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.005745, allocations: 140.8 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.934e-05/0.005775, allocations: 67.28 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.609e-05/0.005801, allocations: 5.75 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.005821, allocations: 13.34 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.005821, allocations: 0 / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of Templates: time 0.002394/0.008215, allocations: 0.9038 MB / 0.8167 GB, free: 12.46 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.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.101124264067039]