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.001313/0.001313, 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.001461/0.001461, allocations: 173 kB / 23.02 MB, free: 1.547 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.9383/0.9383, allocations: 177.1 MB / 203.4 MB, free: 5.645 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 1.921/1.921, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 178] 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.413e-06/1.413e-06, allocations: 0 / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.673e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00451/0.004526, allocations: 4.743 MB / 0.8828 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007771/0.005303, allocations: 0.8324 MB / 0.8837 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.605e-05/0.005359, allocations: 1.594 kB / 0.8837 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.005518, allocations: 27.78 kB / 0.8837 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.629e-05/0.005565, allocations: 42.11 kB / 0.8837 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.006036, allocations: 175.3 kB / 0.8839 GB, free: 472 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.006184, allocations: 185.3 kB / 0.8841 GB, free: 288 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.629e-05/0.00626, allocations: 13.3 kB / 0.8841 GB, free: 272 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.006414, allocations: 111.7 kB / 0.8842 GB, free: 160 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.88e-05/0.006483, allocations: 63.84 kB / 0.8843 GB, free: 96 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.006504, allocations: 16 kB / 0.8843 GB, free: 80 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.006732, allocations: 132.5 kB / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.006758, allocations: 37.55 kB / 0.8844 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.871e-05/0.006807, allocations: 51.84 kB / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.007071, allocations: 215.3 kB / 0.8847 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.007074, allocations: 3.984 kB / 0.8847 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.22e-07/0.007074, allocations: 1.156 kB / 0.8847 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.768e-06/0.007078, 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.0005684/0.007647, allocations: 499.8 kB / 0.8852 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.007682, allocations: 8.031 kB / 0.8852 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.007735, allocations: 24.83 kB / 0.8852 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.689e-05/0.007832, allocations: 138 kB / 0.8853 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.007845, allocations: 8.375 kB / 0.8853 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.007862, allocations: 12.38 kB / 0.8854 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.008036, allocations: 94.28 kB / 0.8854 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.008043, allocations: 8 kB / 0.8854 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.008055, allocations: 4 kB / 0.8855 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.008061, allocations: 0 / 0.8855 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.008164, allocations: 59.89 kB / 0.8855 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008901/0.009054, allocations: 431.3 kB / 0.8859 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.009178, allocations: 83.03 kB / 0.886 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.436e-05/0.009222, allocations: 31.67 kB / 0.886 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006249/0.009847, allocations: 0.5467 MB / 0.8866 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.009866, allocations: 37.38 kB / 0.8866 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.009867, allocations: 0 / 0.8866 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0002201/0.01009, allocations: 117.5 kB / 0.8867 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.01011, allocations: 55.41 kB / 0.8868 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.01022, allocations: 216.7 kB / 0.887 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.01023, allocations: 29.7 kB / 0.887 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.01029, allocations: 163.2 kB / 0.8872 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.01031, allocations: 39.67 kB / 0.8872 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.01037, allocations: 59.31 kB / 0.8872 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.01048, allocations: 0.4961 MB / 0.8877 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.872e-05/0.01054, allocations: 31.97 kB / 0.8878 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.79e-05/0.01062, allocations: 74.66 kB / 0.8878 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.01074, allocations: 112.8 kB / 0.8879 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01074, allocations: 4 kB / 0.8879 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001938/0.01093, allocations: 163.8 kB / 0.8881 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.01095, allocations: 6.656 kB / 0.8881 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.01095, allocations: 0 / 0.8881 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.01096, allocations: 11.88 kB / 0.8881 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.0111, allocations: 55.91 kB / 0.8882 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.01111, allocations: 4 kB / 0.8882 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.049e-05/0.01117, allocations: 27.78 kB / 0.8882 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.01119, allocations: 16.08 kB / 0.8882 GB, free: 11.78 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.759e-05/0.01126, allocations: 160.5 kB / 0.8884 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.01128, allocations: 19.91 kB / 0.8884 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.01143, allocations: 107.5 kB / 0.8885 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01143, allocations: 3.938 kB / 0.8885 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.01143, allocations: 0 / 0.8885 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01144, allocations: 3.984 kB / 0.8885 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.01156, allocations: 152.6 kB / 0.8886 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.01156, allocations: 0 / 0.8886 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.486e-05/0.01163, allocations: 23.92 kB / 0.8887 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01163, allocations: 8 kB / 0.8887 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.01164, allocations: 0 / 0.8887 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.01164, allocations: 3.938 kB / 0.8887 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01164, allocations: 3.938 kB / 0.8887 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.01178, allocations: 251.8 kB / 0.8889 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.01181, allocations: 19.89 kB / 0.8889 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.01183, allocations: 0 / 0.8889 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.284e-05/0.01188, allocations: 11.98 kB / 0.889 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.01192, allocations: 15.91 kB / 0.889 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.01192, allocations: 7.938 kB / 0.889 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.01198, allocations: 160.8 kB / 0.8891 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01198, allocations: 0 / 0.8891 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002139/0.01219, allocations: 67.86 kB / 0.8892 GB, free: 10.71 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.0001806/0.01237, allocations: 155 kB / 0.8893 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001692/0.01254, allocations: 91.58 kB / 0.8894 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.01254, allocations: 4.188 kB / 0.8894 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.57e-05/0.01259, allocations: 43.61 kB / 0.8895 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.01279, allocations: 29.98 kB / 0.8895 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.01328, allocations: 250.8 kB / 0.8897 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.407e-05/0.01332, allocations: 67.84 kB / 0.8898 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.044e-05/0.01338, allocations: 20.19 kB / 0.8898 GB, free: 10 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.01343, allocations: 20.5 kB / 0.8898 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.01343, allocations: 0 / 0.8898 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of Templates: time 0.004809/0.01824, allocations: 3.113 MB / 0.8929 GB, free: 6.918 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: 4.947986028157175]