Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001127/0.001127, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.001039/0.001039, allocations: 169 kB / 23.27 MB, free: 1.219 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 1.019/1.019, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.417/2.417, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.786e-06/2.786e-06, allocations: 0 / 0.8898 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.342e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005491/0.005515, allocations: 4.724 MB / 0.8944 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008942/0.006409, allocations: 0.8255 MB / 0.8952 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.906e-05/0.006488, allocations: 0 / 0.8952 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.006677, allocations: 31.77 kB / 0.8952 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.471e-05/0.006722, allocations: 31.66 kB / 0.8953 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.007279, allocations: 187.2 kB / 0.8954 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.00745, allocations: 175.3 kB / 0.8956 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.794e-05/0.007548, allocations: 13.3 kB / 0.8956 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.007749, allocations: 115.7 kB / 0.8957 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.509e-05/0.007834, allocations: 63.84 kB / 0.8958 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.007858, allocations: 15.94 kB / 0.8958 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.008125, allocations: 135.8 kB / 0.8959 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.008156, allocations: 39.89 kB / 0.896 GB, free: 3.32 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.008203, allocations: 47.89 kB / 0.896 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.008492, allocations: 219.2 kB / 0.8962 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.008495, allocations: 0 / 0.8962 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.092e-06/0.008496, allocations: 0 / 0.8962 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.0085, allocations: 0 / 0.8962 GB, free: 3.059 MB / 0.8542 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.0006169/0.009117, allocations: 491.5 kB / 0.8967 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.009165, allocations: 16.03 kB / 0.8967 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.009215, allocations: 20.84 kB / 0.8967 GB, free: 2.508 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.009327, allocations: 132.4 kB / 0.8969 GB, free: 2.352 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.009343, allocations: 8.375 kB / 0.8969 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.009362, allocations: 12.38 kB / 0.8969 GB, free: 2.332 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.009533, allocations: 94.28 kB / 0.897 GB, free: 2.23 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.009544, allocations: 3.984 kB / 0.897 GB, free: 2.227 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.009554, allocations: 0 / 0.897 GB, free: 2.227 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.009562, allocations: 4 kB / 0.897 GB, free: 2.223 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.038e-05/0.009642, allocations: 47.81 kB / 0.897 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.01026, allocations: 415.9 kB / 0.8974 GB, free: 1.742 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.01037, allocations: 79.02 kB / 0.8975 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.0104, allocations: 23.67 kB / 0.8975 GB, free: 1.625 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000672/0.01107, allocations: 0.5542 MB / 0.8981 GB, free: 1.055 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.0111, allocations: 33.39 kB / 0.8981 GB, free: 1.012 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.0111, allocations: 3.938 kB / 0.8981 GB, free: 1.008 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0002054/0.01131, allocations: 105.5 kB / 0.8982 GB, free: 0.8984 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.01134, allocations: 55.34 kB / 0.8982 GB, free: 0.832 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.01147, allocations: 229 kB / 0.8985 GB, free: 0.5938 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.01149, allocations: 25.7 kB / 0.8985 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.01157, allocations: 155.2 kB / 0.8986 GB, free: 416 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.0116, allocations: 43.62 kB / 0.8987 GB, free: 372 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.01166, allocations: 59.33 kB / 0.8987 GB, free: 304 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.01183, allocations: 0.4923 MB / 0.8992 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.796e-05/0.01186, allocations: 23.98 kB / 0.8992 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.01194, allocations: 77.91 kB / 0.8993 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.01204, allocations: 89.02 kB / 0.8994 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01204, allocations: 4 kB / 0.8994 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001809/0.01223, allocations: 151.2 kB / 0.8995 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.01224, allocations: 8.094 kB / 0.8996 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01225, allocations: 4 kB / 0.8996 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.01226, allocations: 0 / 0.8996 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.01239, allocations: 51.91 kB / 0.8996 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.01239, allocations: 3.938 kB / 0.8996 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.325e-05/0.01246, allocations: 27.78 kB / 0.8996 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.01247, allocations: 12 kB / 0.8997 GB, free: 15.32 MB / 0.8698 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 8.909e-05/0.01256, allocations: 164.5 kB / 0.8998 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.01259, allocations: 15.91 kB / 0.8998 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.01275, allocations: 103.5 kB / 0.8999 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01275, allocations: 0 / 0.8999 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.01276, allocations: 7.938 kB / 0.8999 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.01276, allocations: 0 / 0.8999 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.01289, allocations: 133.1 kB / 0.9001 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01289, allocations: 0 / 0.9001 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.909e-05/0.01295, allocations: 23.98 kB / 0.9001 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01295, allocations: 3.938 kB / 0.9001 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.01296, allocations: 8 kB / 0.9001 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01297, allocations: 0 / 0.9001 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01297, allocations: 4 kB / 0.9001 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.01313, allocations: 247.7 kB / 0.9003 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.01317, allocations: 23.89 kB / 0.9004 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.01318, allocations: 4 kB / 0.9004 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.667e-05/0.01323, allocations: 7.984 kB / 0.9004 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.01326, allocations: 7.984 kB / 0.9004 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.01327, allocations: 8 kB / 0.9004 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.258e-05/0.01333, allocations: 152.8 kB / 0.9005 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.01333, allocations: 0 / 0.9005 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002259/0.01356, allocations: 71.8 kB / 0.9006 GB, free: 14.29 MB / 0.8698 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.000216/0.01377, allocations: 155 kB / 0.9007 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001546/0.01393, allocations: 87.5 kB / 0.9008 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01393, allocations: 0 / 0.9008 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.173e-05/0.01397, allocations: 39.61 kB / 0.9009 GB, free: 14 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.01419, allocations: 28.11 kB / 0.9009 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005332/0.01473, allocations: 243 kB / 0.9011 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.783e-05/0.01479, allocations: 67.84 kB / 0.9012 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.16e-05/0.01486, allocations: 21.12 kB / 0.9012 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.01496, allocations: 94.19 kB / 0.9013 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.012e-06/0.01496, allocations: 0 / 0.9013 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.004988/0.01995, allocations: 3.112 MB / 0.9043 GB, free: 10.42 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.677071801852435]