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.001291/0.001291, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00137/0.00137, allocations: 173 kB / 23.49 MB, free: 1.059 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.9479/0.9479, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.032/2.032, allocations: 429.5 MB / 0.6736 GB, free: 4.035 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.212e-06/1.212e-06, allocations: 0 / 0.8782 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.947e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004941/0.00496, allocations: 4.739 MB / 0.8829 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007761/0.005736, allocations: 0.8378 MB / 0.8837 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.31e-05/0.00579, allocations: 3.938 kB / 0.8837 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.00594, allocations: 24.48 kB / 0.8837 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.059e-05/0.00598, allocations: 33.31 kB / 0.8837 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.006439, allocations: 185.9 kB / 0.8839 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.006589, allocations: 183.3 kB / 0.8841 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.484e-05/0.006663, allocations: 5.312 kB / 0.8841 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.00682, allocations: 109.6 kB / 0.8842 GB, free: 468 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.959e-05/0.00689, allocations: 67.78 kB / 0.8843 GB, free: 400 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.006911, allocations: 16 kB / 0.8843 GB, free: 384 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.007129, allocations: 135.7 kB / 0.8844 GB, free: 248 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.007156, allocations: 36.61 kB / 0.8844 GB, free: 212 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.007201, allocations: 51.89 kB / 0.8845 GB, free: 160 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005449/0.007746, allocations: 225 kB / 0.8847 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.007749, allocations: 0 / 0.8847 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.022e-06/0.00775, allocations: 0 / 0.8847 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.007754, allocations: 0 / 0.8847 GB, free: 15.93 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.0005351/0.008289, allocations: 493.3 kB / 0.8852 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.008321, allocations: 12.03 kB / 0.8852 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.008373, allocations: 24.84 kB / 0.8852 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.884e-05/0.008462, allocations: 127.5 kB / 0.8853 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.008475, allocations: 8.375 kB / 0.8853 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.008497, allocations: 12.38 kB / 0.8854 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.008668, allocations: 98.22 kB / 0.8855 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.008675, allocations: 0 / 0.8855 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.008686, allocations: 8 kB / 0.8855 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.008692, allocations: 3.938 kB / 0.8855 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.008794, allocations: 55.95 kB / 0.8855 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005771/0.009371, allocations: 435.1 kB / 0.8859 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.009495, allocations: 83.03 kB / 0.886 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/0.009542, allocations: 39.61 kB / 0.886 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006182/0.01016, allocations: 0.5468 MB / 0.8866 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.01018, allocations: 33.39 kB / 0.8866 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.01018, allocations: 0 / 0.8866 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0002198/0.0104, allocations: 121.4 kB / 0.8867 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.01043, allocations: 51.41 kB / 0.8868 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.01055, allocations: 221.4 kB / 0.887 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.01056, allocations: 25.7 kB / 0.887 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.01062, allocations: 167.2 kB / 0.8872 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.01064, allocations: 31.7 kB / 0.8872 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.0107, allocations: 67.3 kB / 0.8873 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.0108, allocations: 0.4884 MB / 0.8877 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.501e-05/0.01086, allocations: 27.98 kB / 0.8878 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.164e-05/0.01094, allocations: 79.8 kB / 0.8878 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.01106, allocations: 110.5 kB / 0.888 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01106, allocations: 0 / 0.888 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000198/0.01126, allocations: 163.4 kB / 0.8881 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.01127, allocations: 8.094 kB / 0.8881 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.01127, allocations: 0 / 0.8881 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.01129, allocations: 7.938 kB / 0.8881 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.01142, allocations: 51.91 kB / 0.8882 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.01143, allocations: 4 kB / 0.8882 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.079e-05/0.01149, allocations: 27.77 kB / 0.8882 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.01151, allocations: 16 kB / 0.8882 GB, free: 12.09 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 6.592e-05/0.01157, allocations: 160.5 kB / 0.8884 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.0116, allocations: 19.91 kB / 0.8884 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.01175, allocations: 119 kB / 0.8885 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01176, allocations: 3.938 kB / 0.8885 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.01176, allocations: 0 / 0.8885 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01176, allocations: 0 / 0.8885 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.01188, allocations: 152.6 kB / 0.8887 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01188, allocations: 0 / 0.8887 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.01194, allocations: 23.98 kB / 0.8887 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01195, allocations: 4 kB / 0.8887 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.01195, allocations: 0 / 0.8887 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01196, allocations: 3.984 kB / 0.8887 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01196, allocations: 3.938 kB / 0.8887 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.0121, allocations: 260.1 kB / 0.8889 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.01213, allocations: 23.89 kB / 0.889 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.01215, allocations: 3.984 kB / 0.889 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.056e-05/0.0122, allocations: 8 kB / 0.889 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.01224, allocations: 11.92 kB / 0.889 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.01224, allocations: 4 kB / 0.889 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.575e-05/0.0123, allocations: 156.1 kB / 0.8891 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.0123, allocations: 0 / 0.8891 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002325/0.01253, allocations: 63.86 kB / 0.8892 GB, free: 11.02 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.0001866/0.01271, allocations: 158.5 kB / 0.8893 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001706/0.01289, allocations: 100.2 kB / 0.8894 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01289, allocations: 3.938 kB / 0.8894 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.55e-05/0.01293, allocations: 43.84 kB / 0.8895 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.01314, allocations: 19.94 kB / 0.8895 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.01363, allocations: 250.8 kB / 0.8897 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.747e-05/0.01366, allocations: 71.83 kB / 0.8898 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.678e-05/0.01372, allocations: 13.16 kB / 0.8898 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.01377, allocations: 24.48 kB / 0.8899 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/0.01377, allocations: 0 / 0.8899 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of Templates: time 0.004269/0.01803, allocations: 2.871 MB / 0.8927 GB, free: 7.461 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.265164257958531]