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.001487/0.001487, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001682/0.001682, allocations: 165 kB / 23.01 MB, free: 1.551 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.9797/0.9797, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.134/2.134, allocations: 429.5 MB / 0.6732 GB, free: 4.07 MB / 0.6355 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 1.983e-06/1.983e-06, allocations: 0 / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.63e-05, allocations: 6.234 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00681/0.006836, allocations: 4.745 MB / 0.8829 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.008023, allocations: 0.8371 MB / 0.8837 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.381e-05/0.008097, allocations: 0 / 0.8837 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.008346, allocations: 27.84 kB / 0.8837 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-05/0.008415, allocations: 31.7 kB / 0.8837 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006942/0.009109, allocations: 191.2 kB / 0.8839 GB, free: 476 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.009372, allocations: 175.4 kB / 0.8841 GB, free: 300 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.009476, allocations: 13.3 kB / 0.8841 GB, free: 284 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002641/0.00974, allocations: 111.8 kB / 0.8842 GB, free: 172 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.009854, allocations: 67.78 kB / 0.8843 GB, free: 104 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.009883, allocations: 12 kB / 0.8843 GB, free: 92 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003402/0.01022, allocations: 139.7 kB / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.01026, allocations: 35.89 kB / 0.8844 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.177e-05/0.01032, allocations: 43.91 kB / 0.8845 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.01069, allocations: 223.2 kB / 0.8847 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.01069, allocations: 0 / 0.8847 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.62e-07/0.01069, allocations: 4 kB / 0.8847 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.01069, allocations: 0 / 0.8847 GB, free: 15.65 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.0007815/0.01148, allocations: 491.8 kB / 0.8852 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.01152, allocations: 12.03 kB / 0.8852 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.01159, allocations: 20.84 kB / 0.8852 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.01172, allocations: 134 kB / 0.8853 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.01174, allocations: 8.375 kB / 0.8853 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.01177, allocations: 12.38 kB / 0.8853 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.01203, allocations: 106.2 kB / 0.8854 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.01204, allocations: 0 / 0.8854 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.01205, allocations: 3.938 kB / 0.8855 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.01207, allocations: 4 kB / 0.8855 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.01221, allocations: 51.95 kB / 0.8855 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008659/0.01308, allocations: 431.3 kB / 0.8859 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.01326, allocations: 94.95 kB / 0.886 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.669e-05/0.01333, allocations: 27.69 kB / 0.886 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009729/0.0143, allocations: 0.5429 MB / 0.8866 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.01433, allocations: 33.39 kB / 0.8866 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.01433, allocations: 4 kB / 0.8866 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.000316/0.01465, allocations: 125.7 kB / 0.8867 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.01468, allocations: 55.41 kB / 0.8868 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.01485, allocations: 212.7 kB / 0.887 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.01487, allocations: 29.7 kB / 0.887 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.01495, allocations: 159.2 kB / 0.8872 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.01498, allocations: 39.67 kB / 0.8872 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.788e-05/0.01507, allocations: 59.31 kB / 0.8872 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.01522, allocations: 0.4962 MB / 0.8877 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.179e-05/0.0153, allocations: 31.97 kB / 0.8878 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.01541, allocations: 74.66 kB / 0.8878 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.01558, allocations: 116.6 kB / 0.8879 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01558, allocations: 0 / 0.8879 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002991/0.01588, allocations: 161.4 kB / 0.8881 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.0159, allocations: 4 kB / 0.8881 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.0159, allocations: 4 kB / 0.8881 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.01593, allocations: 7.875 kB / 0.8881 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.01614, allocations: 51.95 kB / 0.8882 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.01614, allocations: 4.094 kB / 0.8882 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.561e-05/0.01624, allocations: 35.77 kB / 0.8882 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.01627, allocations: 8 kB / 0.8882 GB, free: 11.8 MB / 0.8542 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.708e-05/0.01636, allocations: 168.5 kB / 0.8884 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.0164, allocations: 15.91 kB / 0.8884 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.01662, allocations: 111 kB / 0.8885 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.01662, allocations: 7.938 kB / 0.8885 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.01663, allocations: 0 / 0.8885 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01663, allocations: 3.984 kB / 0.8885 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.01681, allocations: 152.6 kB / 0.8886 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01682, allocations: 0 / 0.8886 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.01692, allocations: 23.98 kB / 0.8887 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01692, allocations: 0 / 0.8887 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.01694, allocations: 4 kB / 0.8887 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.01694, allocations: 0 / 0.8887 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.01694, allocations: 7.938 kB / 0.8887 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.01719, allocations: 251.6 kB / 0.8889 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.01723, allocations: 19.89 kB / 0.8889 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.01725, allocations: 4 kB / 0.8889 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.721e-05/0.01735, allocations: 15.98 kB / 0.889 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.0174, allocations: 11.92 kB / 0.889 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.01741, allocations: 4 kB / 0.889 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.139e-05/0.0175, allocations: 160.8 kB / 0.8891 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.0175, allocations: 0 / 0.8891 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000385/0.01788, allocations: 59.86 kB / 0.8892 GB, free: 10.73 MB / 0.8542 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.0002759/0.01816, allocations: 159.1 kB / 0.8893 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.0184, allocations: 97.69 kB / 0.8894 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.0184, allocations: 4 kB / 0.8894 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.887e-05/0.01847, allocations: 35.67 kB / 0.8895 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.01881, allocations: 29.8 kB / 0.8895 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007524/0.01957, allocations: 253.8 kB / 0.8897 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.97e-05/0.01963, allocations: 63.84 kB / 0.8898 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.511e-05/0.01972, allocations: 21.52 kB / 0.8898 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.34e-05/0.01979, allocations: 20.5 kB / 0.8898 GB, free: 10 MB / 0.8542 GB Notification: Performance of SimCode: time 1.142e-06/0.01979, allocations: 4 kB / 0.8898 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of Templates: time 0.006327/0.02611, allocations: 2.779 MB / 0.8926 GB, free: 7.262 MB / 0.8542 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.636111493688077]