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.0009474/0.0009474, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001085/0.001085, allocations: 181 kB / 24.09 MB, free: 420 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.008/1.008, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.882/1.882, allocations: 377.9 MB / 0.624 GB, free: 8.418 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.072e-06/1.072e-06, allocations: 0 / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.252e-05, allocations: 2.312 kB / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001749/0.001761, allocations: 1.485 MB / 0.8135 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.000302/0.002063, allocations: 191.9 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.002093, allocations: 1.188 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.002115, allocations: 3.938 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.494e-05/0.00215, allocations: 0 / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.002349, allocations: 44.84 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 4.852e-05/0.002397, allocations: 23.88 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.377e-05/0.002461, allocations: 8.766 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.579e-05/0.002507, allocations: 8 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.551e-05/0.002532, allocations: 13.66 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.002544, allocations: 4 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-05/0.00261, allocations: 31.97 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.002621, allocations: 0 / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.23e-05/0.002633, allocations: 15.92 kB / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.355e-05/0.002717, allocations: 45.34 kB / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.002718, allocations: 0 / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.01e-07/0.002719, allocations: 4 kB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.002723, allocations: 0 / 0.8138 GB, free: 15.6 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.0002768/0.003, allocations: 361.7 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.003031, allocations: 8.031 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.242e-05/0.003054, allocations: 6.531 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.51e-05/0.003119, allocations: 112.6 kB / 0.8143 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.003128, allocations: 384 / 0.8143 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-06/0.003133, allocations: 384 / 0.8143 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.733e-05/0.00323, allocations: 54.95 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.003237, allocations: 2.781 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.003242, allocations: 384 / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.003248, allocations: 384 / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.178e-05/0.00327, allocations: 15.86 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.003469, allocations: 236.4 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.003661, allocations: 31.06 kB / 0.8146 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.335e-05/0.003674, allocations: 8.188 kB / 0.8146 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.748e-05/0.003732, allocations: 16.75 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.003751, allocations: 41.86 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.003752, allocations: 0 / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 9.727e-05/0.003849, allocations: 43.23 kB / 0.8147 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.003873, allocations: 55.41 kB / 0.8148 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.342e-05/0.003936, allocations: 161.9 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.003945, allocations: 30.2 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.00398, allocations: 126.9 kB / 0.8151 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.003996, allocations: 8.484 kB / 0.8151 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.004021, allocations: 24.14 kB / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.004133, allocations: 496.1 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.717e-06/0.004142, allocations: 5.156 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.956e-06/0.004151, allocations: 0 / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.347e-05/0.004174, allocations: 21 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.004176, allocations: 0 / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.426e-05/0.00422, allocations: 37.69 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.004231, allocations: 4 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.004237, allocations: 5.75 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.004248, allocations: 3.938 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.793e-05/0.004296, allocations: 4 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.004299, allocations: 0 / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.5e-05/0.004314, allocations: 8.891 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.004318, allocations: 0 / 0.8157 GB, free: 13.52 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.256e-05/0.00437, allocations: 153.4 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.004385, allocations: 11.95 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.128e-05/0.004446, allocations: 47.14 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.00445, allocations: 7.938 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.004451, allocations: 0 / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.004454, allocations: 0 / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.093e-05/0.004535, allocations: 97.27 kB / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.004535, allocations: 0 / 0.816 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-05/0.004554, allocations: 10.7 kB / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.004556, allocations: 0 / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-06/0.00456, allocations: 0 / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.00456, allocations: 0 / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.004561, allocations: 0 / 0.816 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.493e-05/0.004636, allocations: 196 kB / 0.8162 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-06/0.004643, allocations: 9.453 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-06/0.004651, allocations: 8 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.702e-05/0.004678, allocations: 0 / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.0047, allocations: 7.984 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.004703, allocations: 8.438 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.924e-05/0.004732, allocations: 119.2 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004732, allocations: 5.531 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001397/0.004872, allocations: 8 kB / 0.8163 GB, free: 12.8 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.0001035/0.004975, allocations: 110.7 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.382e-05/0.005029, allocations: 16.72 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.00503, allocations: 0 / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-05/0.005045, allocations: 19.31 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.005201, allocations: 6.531 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001822/0.005383, allocations: 106.5 kB / 0.8166 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.666e-05/0.005419, allocations: 67.14 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.489e-05/0.005434, allocations: 3.984 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.005473, allocations: 74.2 kB / 0.8167 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.005473, allocations: 0 / 0.8167 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of Templates: time 0.001999/0.007472, allocations: 0.6816 MB / 0.8174 GB, free: 11.68 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.060385308694094]