Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001479/0.001479, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001669/0.001669, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9418/0.9418, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.709/1.709, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.888e-05, allocations: 3.859 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005075/0.005104, allocations: 4.725 MB / 0.7918 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008939/0.005998, allocations: 0.8263 MB / 0.7926 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.006055, allocations: 7.938 kB / 0.7926 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.006218, allocations: 25.5 kB / 0.7926 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.281e-05/0.00626, allocations: 35.64 kB / 0.7926 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005354/0.006796, allocations: 185.8 kB / 0.7928 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.006967, allocations: 187.3 kB / 0.793 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.565e-05/0.007052, allocations: 6.562 kB / 0.793 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.007244, allocations: 107.8 kB / 0.7931 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.549e-05/0.007319, allocations: 68.53 kB / 0.7932 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.007341, allocations: 12 kB / 0.7932 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.007586, allocations: 141 kB / 0.7933 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.007613, allocations: 35.89 kB / 0.7933 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.007665, allocations: 47.89 kB / 0.7934 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.007973, allocations: 211.9 kB / 0.7936 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.007977, allocations: 5.125 kB / 0.7936 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.252e-06/0.007978, allocations: 0 / 0.7936 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.007984, allocations: 0 / 0.7936 GB, free: 5.836 MB / 0.7448 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.0006159/0.0086, allocations: 0.4901 MB / 0.7941 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.008644, allocations: 8.031 kB / 0.7941 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.008708, allocations: 22.12 kB / 0.7941 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.008813, allocations: 134.5 kB / 0.7942 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.008826, allocations: 4.375 kB / 0.7942 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.008842, allocations: 16.36 kB / 0.7943 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.009038, allocations: 107.8 kB / 0.7944 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.009045, allocations: 192 / 0.7944 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.009058, allocations: 5 kB / 0.7944 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.009066, allocations: 0 / 0.7944 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.009167, allocations: 58.8 kB / 0.7944 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006249/0.009792, allocations: 422.2 kB / 0.7948 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.009931, allocations: 79.97 kB / 0.7949 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.054e-05/0.009982, allocations: 47.55 kB / 0.7949 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006803/0.01066, allocations: 0.54 MB / 0.7955 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.01069, allocations: 41.36 kB / 0.7955 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.01069, allocations: 0.5 kB / 0.7955 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0002431/0.01093, allocations: 114.1 kB / 0.7956 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.01097, allocations: 60.2 kB / 0.7957 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.01108, allocations: 215.2 kB / 0.7959 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.0111, allocations: 34.86 kB / 0.7959 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.01117, allocations: 159.2 kB / 0.7961 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.0112, allocations: 39.64 kB / 0.7961 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.01126, allocations: 56.7 kB / 0.7962 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.01137, allocations: 0.5 MB / 0.7966 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.172e-05/0.01144, allocations: 27.97 kB / 0.7967 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.01155, allocations: 77.06 kB / 0.7967 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.01172, allocations: 107 kB / 0.7968 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.01172, allocations: 0 / 0.7968 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002966/0.01202, allocations: 171.1 kB / 0.797 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.01203, allocations: 7.938 kB / 0.797 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.01204, allocations: 0 / 0.797 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.01206, allocations: 7.406 kB / 0.797 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.01227, allocations: 47.91 kB / 0.7971 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.01228, allocations: 4 kB / 0.7971 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.622e-05/0.01238, allocations: 31.72 kB / 0.7971 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.0124, allocations: 11.98 kB / 0.7971 GB, free: 2.012 MB / 0.7448 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 9.575e-05/0.0125, allocations: 164.5 kB / 0.7973 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.01254, allocations: 11.95 kB / 0.7973 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.01277, allocations: 116.3 kB / 0.7974 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.01277, allocations: 0 / 0.7974 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.01278, allocations: 0 / 0.7974 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.01278, allocations: 5.125 kB / 0.7974 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.01296, allocations: 164.5 kB / 0.7976 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01297, allocations: 0 / 0.7976 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.01307, allocations: 25.02 kB / 0.7976 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.01307, allocations: 3.938 kB / 0.7976 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.01308, allocations: 0 / 0.7976 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.01308, allocations: 1.125 kB / 0.7976 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.01308, allocations: 0 / 0.7976 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.01331, allocations: 263.6 kB / 0.7978 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.01335, allocations: 16.94 kB / 0.7979 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.01337, allocations: 4 kB / 0.7979 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-05/0.01345, allocations: 8.484 kB / 0.7979 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.0135, allocations: 16.08 kB / 0.7979 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.01351, allocations: 4 kB / 0.7979 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.232e-05/0.01358, allocations: 147.9 kB / 0.798 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01358, allocations: 4 kB / 0.798 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003336/0.01392, allocations: 59.88 kB / 0.7981 GB, free: 0.957 MB / 0.7448 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.0003034/0.01422, allocations: 166.9 kB / 0.7982 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.01446, allocations: 95.58 kB / 0.7983 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01446, allocations: 4 kB / 0.7983 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.051e-05/0.01452, allocations: 39.61 kB / 0.7984 GB, free: 0.6406 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.01487, allocations: 27.97 kB / 0.7984 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007201/0.01559, allocations: 250 kB / 0.7986 GB, free: 352 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.114e-05/0.01564, allocations: 63.84 kB / 0.7987 GB, free: 268 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.411e-05/0.01572, allocations: 19.83 kB / 0.7987 GB, free: 248 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.715e-05/0.01578, allocations: 24.5 kB / 0.7987 GB, free: 224 kB / 0.7448 GB Notification: Performance of SimCode: time 1.112e-06/0.01578, allocations: 0 / 0.7987 GB, free: 224 kB / 0.7448 GB Notification: Performance of Templates: time 0.006935/0.02272, allocations: 3.116 MB / 0.8018 GB, free: 13.15 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 5.019638964906335]