Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001025/0.001025, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009445/0.0009445, allocations: 161 kB / 23.82 MB, free: 0.7461 MB / 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.8695/0.8695, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.77/1.77, allocations: 377.8 MB / 0.6236 GB, free: 8.531 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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 0.8116 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.776e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004631/0.004649, allocations: 4.728 MB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0007358/0.005385, allocations: 0.8327 MB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.005437, allocations: 0 / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.005588, allocations: 32.25 kB / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.23e-05/0.005631, allocations: 37.27 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.006097, allocations: 177.1 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.006238, allocations: 184.5 kB / 0.8174 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.481e-05/0.006313, allocations: 9.312 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.006467, allocations: 115.7 kB / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.889e-05/0.006536, allocations: 65.22 kB / 0.8176 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.006556, allocations: 16 kB / 0.8176 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.006779, allocations: 131.7 kB / 0.8178 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.006803, allocations: 32.86 kB / 0.8178 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.006847, allocations: 55.89 kB / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.007091, allocations: 220 kB / 0.8181 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.007093, allocations: 0 / 0.8181 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.92e-07/0.007094, allocations: 1.062 kB / 0.8181 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.007098, allocations: 0 / 0.8181 GB, free: 11.06 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005351/0.007633, allocations: 0.4903 MB / 0.8185 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.007666, allocations: 8.031 kB / 0.8185 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.007716, allocations: 20.84 kB / 0.8186 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.262e-05/0.007798, allocations: 129.4 kB / 0.8187 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.00781, allocations: 8.375 kB / 0.8187 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.007828, allocations: 12.38 kB / 0.8187 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.007993, allocations: 92.94 kB / 0.8188 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.008001, allocations: 8.172 kB / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.008014, allocations: 8.125 kB / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.00802, allocations: 0 / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.662e-05/0.008117, allocations: 62.55 kB / 0.8189 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.008682, allocations: 430.2 kB / 0.8193 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.008799, allocations: 80.91 kB / 0.8194 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.008844, allocations: 35.61 kB / 0.8194 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008574/0.009702, allocations: 0.5552 MB / 0.8199 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.009723, allocations: 33.39 kB / 0.82 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.009724, allocations: 1.125 kB / 0.82 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.00021/0.009934, allocations: 109.6 kB / 0.8201 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.00996, allocations: 55.41 kB / 0.8201 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.01007, allocations: 221.5 kB / 0.8203 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.01009, allocations: 29.7 kB / 0.8204 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.01015, allocations: 159.2 kB / 0.8205 GB, free: 8.371 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.01017, allocations: 40.7 kB / 0.8205 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.01022, allocations: 59.36 kB / 0.8206 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.01032, allocations: 0.4932 MB / 0.8211 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.283e-05/0.01038, allocations: 31.92 kB / 0.8211 GB, free: 7.73 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.522e-05/0.01045, allocations: 75.81 kB / 0.8212 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.01057, allocations: 107.1 kB / 0.8213 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.01058, allocations: 0 / 0.8213 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001965/0.01077, allocations: 174.4 kB / 0.8215 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.01078, allocations: 4 kB / 0.8215 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.01079, allocations: 0 / 0.8215 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.0108, allocations: 4 kB / 0.8215 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.01094, allocations: 51.91 kB / 0.8215 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.01094, allocations: 4.531 kB / 0.8215 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.011, allocations: 33.31 kB / 0.8216 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.01102, allocations: 8 kB / 0.8216 GB, free: 7.25 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.888e-05/0.01109, allocations: 164.5 kB / 0.8217 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.01111, allocations: 17.61 kB / 0.8217 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.01126, allocations: 115 kB / 0.8218 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.01126, allocations: 0 / 0.8218 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.01127, allocations: 0 / 0.8218 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.01127, allocations: 0 / 0.8218 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.01138, allocations: 165 kB / 0.822 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01139, allocations: 4.094 kB / 0.822 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.01145, allocations: 23.92 kB / 0.822 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01145, allocations: 4 kB / 0.822 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.01146, allocations: 4 kB / 0.822 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01146, allocations: 0 / 0.822 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.01146, allocations: 0 / 0.822 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.01161, allocations: 256.2 kB / 0.8223 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/0.01164, allocations: 19.94 kB / 0.8223 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.01165, allocations: 0 / 0.8223 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.963e-05/0.0117, allocations: 8 kB / 0.8223 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.01174, allocations: 15.97 kB / 0.8223 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.01174, allocations: 4 kB / 0.8223 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.279e-05/0.0118, allocations: 160.7 kB / 0.8225 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.0118, allocations: 0 / 0.8225 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002166/0.01201, allocations: 67.83 kB / 0.8225 GB, free: 6.176 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 (12): * Single equations (assignments): 12 * 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.000171/0.01218, allocations: 151 kB / 0.8227 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.01234, allocations: 103.6 kB / 0.8228 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.01235, allocations: 0 / 0.8228 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.445e-05/0.01239, allocations: 47.55 kB / 0.8228 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.0126, allocations: 22.55 kB / 0.8229 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.01307, allocations: 255.2 kB / 0.8231 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.662e-05/0.01311, allocations: 67.7 kB / 0.8232 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.73e-05/0.01316, allocations: 21.12 kB / 0.8232 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.01321, allocations: 16.5 kB / 0.8232 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.01321, allocations: 0 / 0.8232 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of Templates: time 0.004661/0.01787, allocations: 3.123 MB / 0.8262 GB, free: 2.367 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.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.755754206795245]